Re: The dreadful CLOSE_WAIT

From: DervishD
Date: Tue Jul 27 2004 - 12:11:49 EST


Hi William :)

* William Lee Irwin III <wli@xxxxxxxxxxxxxx> dixit:
> > Seems under Linux that, when a connection is in the CLOSE_WAIT
> > state, the only wait to go to LAST_ACK is the application doing the
> > 'shutdown()' or 'close()'. Doesn't seem to be a timeout for that.
> Probably best to implement timeouts by hand in your network daemon.

Of course, this is a bug in the application, but anyway the
kernel (IMHO) shouldn't allow this.

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/