Re: TCP write fails to timeout

Andrea Arcangeli (andrea@e-mind.com)
Sat, 31 Oct 1998 01:50:59 +0100 (CET)


On Fri, 30 Oct 1998, Hubert Tonneau wrote:

>I use TCP connections between
>- a Linux box (tested with 2.0.35 and 2.1.125)
>- OS/2 boxes.
>
>When the OS/2 box shuts down the connection in the middle,
>while the Linux box was writting,
>the connection will often remain infinitely in CLOSE_WAIT state.
>No SIGPIPE is received, and the 'write' operation never ends.

I guess this is a bug in the OS/2 TCP implementation that doesn' t send
the RST packet back to linux. Note that if you wait a "bit" ;-) the
connection will timeout anyway. To be sure linux is doing the right thing
we need the interesting tcpdump trace from the linux side though.

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/