mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 02:49:18 +02:00
Fix TFPHTTPConnectionThread.Execute repeat loop
This commit is contained in:
parent
964a9839d1
commit
ae1c809a2d
@ -645,7 +645,7 @@ begin
|
||||
break;
|
||||
|
||||
FConnection.HandleRequest;
|
||||
until not (Terminated and FConnection.EnableKeepAlive and FConnection.KeepAlive and (FConnection.Socket.LastError=0));
|
||||
until not (not Terminated and FConnection.EnableKeepAlive and FConnection.KeepAlive and (FConnection.Socket.LastError=0));
|
||||
finally
|
||||
FreeAndNil(FConnection);
|
||||
if Assigned(FThreadList) then
|
||||
|
Loading…
Reference in New Issue
Block a user