Re: Lingering Close

On Wed, Nov 28, 2012 at 01:24:15PM -0600, Zhong Yu wrote:
> Thanks Willy, I think I get what you mean by now. FIN should be
> initiated by server to avoid the TIME_WAIT problem. Therefore the
> half-close step is important.

exactly.

> The current text makes perfect sense to me now.

With this in mind, do you think that something in the text should be
updated for future readers ?

> Unfortunately, this lingering close process cannot be implemented on
> top of some APIs; these APIs don't do transparent lingering close upon
> close() either. But it is their fault, not the spec's.

Indeed. However the fallback to full close with the kernel's lingering is
still working in practice. Just not perfectly reliable.

Regards,
Willy

Received on Wednesday, 28 November 2012 20:23:07 UTC