Browse Source

* fphttpclient: add new OnIdle event to keep the client responsive in case the server needs a lot of time to respond (and to be able to terminate the request while waiting for data)

Ondrej Pokorny 4 years ago
parent
commit
54e418c5e8
1 changed files with 0 additions and 1 deletions
  1. 0 1
      packages/fcl-web/src/base/fphttpclient.pp

+ 0 - 1
packages/fcl-web/src/base/fphttpclient.pp

@@ -716,7 +716,6 @@ begin
     if (IOTimeout>0) and (CompareDateTime(NowUTC, BreakUTC)>0) then // we exceeded the timeout -> read error
       Raise EHTTPClientSocketRead.Create(SErrReadingSocket);
     end;
-
   if FSocket.LastError<>0 then
     Raise EHTTPClientSocketRead.Create(SErrReadingSocket);
 end;