We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b5bffb commit d43983eCopy full SHA for d43983e
main.pas
@@ -1,4 +1,4 @@
1
-{
+{
2
Copyright (C) 2002-2020 Massimo Melina (www.rejetto.com)
3
4
This file is part of HFS ~ HTTP File Server.
@@ -1383,6 +1383,7 @@ TfileListing = class
1383
constructor TfileListing.create();
1384
begin
1385
dir:=NIL;
1386
+timeout:=Now()+1/MINUTES;
1387
end; // create
1388
1389
destructor TfileListing.destroy;
@@ -5039,7 +5040,6 @@ procedure Tmainfrm.httpEvent(event:ThttpEvent; conn:ThttpConn);
5039
5040
listing:=TfileListing.create();
5041
try
5042
listing.ignoreConnFilter:=ignoreConnFilters;
- listing.timeout:= now()+1/MINUTES;
5043
listing.fromFolder( f, data, shouldRecur(data));
5044
fIsTemp:=f.isTemp();
5045
ofs:=length(f.resource)-length(f.name)+1;
0 commit comments