Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 1998 08:47:32 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Guido van Rooij <guido@gvr.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: tcp bug on reeBSD 
Message-ID:  <199812161647.IAA13185@mango.parc.xerox.com>
In-Reply-To: Your message of "Wed, 16 Dec 1998 05:02:44 PST." <19981216140244.A5966@gvr.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Was the *socket* half-closed, or fully closed?  If it was fully
closed, then wcarchive has no choice but to RST when you send it
more data.  Since there's nobody to deliver it to, ACK'ing the data
is not appropriate.

>I think it should just ack 3641922000 again and have
>my host discover that the other end closed the connection.

This will just cause your machine to retransmit the data until it
gets ACK'd, which will be forever (even after you close the socket).
Probably not a good idea.  Also, then there would be no way to tell
between a half-closed connection that is dropping all packets and
a fully closed connection - imagine a bulk data transfer protocol
in which a half-close by the receivier is OK.

  Bill

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812161647.IAA13185>