On Wed, 9 Jul 2003 12:11:19 +0200 (MEST)
mtk-lists@gmx.net wrote:
.
quoted
From viewpoint of TCP the behaviour described in Stevens' book
is highly unnatural. SHUT_RD on TCP does not make any sense.
A while back I had some communication with Andi Kleen on this point,
and he suggested that the TCP could send an RST in this case, much
Linux sends an RST when data arrives that the user cannot read anymore
because the receiving socket is already closed. It would make sense to extend
this behaviour to SHUT_RD. But there is no natural place to implement it
outside the fast path, and it's so obscure that it is not worth slowing
common cases down.
-Andi