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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217637 --- 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 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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217637-2472-ldrSi1eicY>
