Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: "Connection reset by peer" with TIdHTTP

www.cryer.info
Managed Newsgroup Archive

Re: "Connection reset by peer" with TIdHTTP

Subject:Re: "Connection reset by peer" with TIdHTTP
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 26 Apr 2006 00:42:55

"Eugene V. Goldberg" <EugeneGoldberg@mail.ru> wrote in message
news:444ee6df@newsgroups.borland.com...

> D7, Indy 9.00.18

The current snapshot of Indy 9 is 9.0.50.  You should consider upgrading and
see if the problem has already been addressed.

> After running a thread for about 15 minutes, .Get started to fail
> with error 10054 "Connection reset by peer".

Please show your actual code.  That error only occurs when the server closes
the socket while you are still reading from it.

> I tried to play with ... Response.KeepAlive properties

You should be using Request.KeepAlive, not Response.KeepAlive.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive