Re: Why does socket:read() take so long to determine broken connection?

From: Steve Horsley (shoot_at_the.moon)
Date: 01/12/05


Date: Wed, 12 Jan 2005 22:04:30 +0000

Eric Sosman wrote:
<lots>

That was one of the best explanations I have ever read. Nice one!

Doesn't explain "Connection reset by peer" though. I wonder if he
plugged the cable back in before triggering the client to send.
In this case, the server may have already figured out that the
connection was broken, and may be responding with a RST that means
"I don't acknowlege this connection.

Steve



Relevant Pages

  • Re: fc2, ssh client/server, kernel 494
    ... Error = Connection reset by peer ... closed connection to service sharename$ ...
    (linux.redhat.misc)
  • What does it mean ?????
    ... Oct 20 13:41:09 constellation smbd: getpeername failed. ... Connection reset by peer ... writing 4 bytes to socket 5: ERRNO = Connection reset by peer ...
    (Fedora)
  • Minimizing Connection reset by peer exceptions
    ... This may be more of a socket question than a python question; ... (10054, 'Connection reset by peer') ... Are there any settings that make the 'Connection reset by ...
    (comp.lang.python)
  • Re: Sockets: code works locally but fails over LAN
    ... Without these corrections I got these error messages ... ..socketerror.: error: (10054, 'Connection reset by peer') ...
    (comp.lang.python)
  • Re: httpd driving me crazy.
    ... Any explanations? ... The behavior is to do with a TCP connection that was made to the server ... will be able to start Apache again. ...
    (Fedora)