Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
idHTTP Timeout Bug
#2
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.

Reply


Messages In This Thread
RE: idHTTP Timeout Bug - by rlebeau - 01-07-2020, 12:30 AM
RE: idHTTP Timeout Bug - by rlebeau - 01-07-2020, 07:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)