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.
idHTTP Timeout Bug
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
idHTTP Timeout Bug - by wolfgang@koeppner-bures.at - 01-05-2020, 11:25 AM
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
RE: idHTTP Timeout Bug - by wolfgang@koeppner-bures.at - 01-08-2020, 08:27 AM
RE: idHTTP Timeout Bug - by wolfgang@koeppner-bures.at - 01-08-2020, 05:52 PM
|
Users browsing this thread: 1 Guest(s)