Fix TFPHTTPConnectionThread.Execute repeat loop

This commit is contained in:
Ondrej Pokorny 2021-08-14 07:40:47 +02:00 committed by Michaël Van Canneyt
parent 964a9839d1
commit ae1c809a2d

View File

@ -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