Jorgen Lundman:
> 15870: 0.0001 write(11, " 2 2 0 s m t p . z e r".., 32) = 32
> 15870: 0.0006 pollsys(0x080474F8, 1, 0x080474D0, 0x00000000) = 1
> 15870: 0.0000 read(11, " Q U I T\r\n", 4096) = 6
> 15870: 0.0001 ioctl(11, FIONREAD, 0x08047614) Err#131
> ECONNRESET
>
> It does receive ECONNRESET, and still end up in timed_write for 300s to
> flush it.
Thank you not, for removing the subsequent calls on that socket.
This looks like a bad poll(2) implementation. There is no reason
for poll(2) to "hang" waiting for POLLOUT. All writes will fail
immediately because the client has closed the connection.
Wietse