[Bug 217637] One TCP connection accepted TWO times

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 19 20:17:31 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217637

--- Comment #37 from Michael Tuexen <tuexen at freebsd.org> ---
(In reply to slw from comment #36)
Please note that RFC 793 defines the CLOSE operation as "I have no more data to
send."
So this does NOT map to the close() system call in the socket API, but to the
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 looking
at. That is why the RST gets send.

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


More information about the freebsd-net mailing list