Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 20:17:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 217637] One TCP connection accepted TWO times
Message-ID:  <bug-217637-2472-ldrSi1eicY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217637-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217637-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217637

--- Comment #37 from Michael Tuexen <tuexen@freebsd.org> ---
(In reply to slw from comment #36)
Please note that RFC 793 defines the CLOSE operation as "I have no more dat=
a to
send."
So this does NOT map to the close() system call in the socket API, but to t=
he
shutdown(..., SHUT_WR) system call. When doing this, you can continue to
receive data.
But I guess the server call close(), not shutdown() in the case we are look=
ing
at. That is why the RST gets send.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217637-2472-ldrSi1eicY>