From: Andi Kleen <ak@suse.de>
To: mtk-lists@gmx.net
Cc: kuznet@ms2.inr.ac.ru, netdev@oss.sgi.com
Subject: Re: shutdown() and SHUT_RD on TCP sockets - broken?
Date: Wed, 9 Jul 2003 12:38:10 +0200 [thread overview]
Message-ID: <20030709123810.2b94d753.ak@suse.de> (raw)
In-Reply-To: <27451.1057745479@www2.gmx.net>
On Wed, 9 Jul 2003 12:11:19 +0200 (MEST)
mtk-lists@gmx.net wrote:
.
>
> > 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
next prev parent reply other threads:[~2003-07-09 10:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-09 10:11 shutdown() and SHUT_RD on TCP sockets - broken? mtk-lists
2003-07-09 10:38 ` Andi Kleen [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-07-08 16:09 mtk-lists
2003-07-08 16:28 ` James Morris
2003-07-08 17:03 ` kuznet
2003-07-08 16:55 ` Andi Kleen
2003-07-01 11:23 mtk-lists
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030709123810.2b94d753.ak@suse.de \
--to=ak@suse.de \
--cc=kuznet@ms2.inr.ac.ru \
--cc=mtk-lists@gmx.net \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).