Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
idHTTP Timeout Bug
#3
(01-07-2020, 12:30 AM)rlebeau Wrote: If a read timeout occurs, the socket is in an indeterminate state, so you need to stop using it.  Call TIdHTTP.Disconnect() and empty the TIdHTTP.IOHandler.InputBuffer (if TIdHTTP does not do this automatically) so that TIdHTTP will send the next request using a new TCP socket.
I didnt think that I need to take care of this, but I've added it to my code. Thx for the hint!
We'll see... :-)
Reply


Messages In This Thread
RE: idHTTP Timeout Bug - by rlebeau - 01-07-2020, 12:30 AM
RE: idHTTP Timeout Bug - by wolfgang@koeppner-bures.at - 01-07-2020, 05:19 PM
RE: idHTTP Timeout Bug - by rlebeau - 01-07-2020, 07:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)