Date: Wed, 03 Oct 2018 17:40:44 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227259] accept()/poll() and shutdown()/close() - not work as in FreeBSD10, may broke many apps Message-ID: <bug-227259-7501-yCCHz5Hp1x@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227259-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-227259-7501@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=3D227259 --- Comment #18 from commit-hook@freebsd.org --- A commit references this bug: Author: glebius Date: Wed Oct 3 17:40:05 UTC 2018 New revision: 339170 URL: https://svnweb.freebsd.org/changeset/base/339170 Log: In PR 227259, a user is reporting that they have code which is using shutdown() to wakeup another thread blocked on a stream listen socket. This code is failing, while it used to work on FreeBSD 10 and still works on Linux. It seems reasonable to add another exception to support something users a= re actually doing, which used to work on FreeBSD 10, and still works on Linu= x. And, it seems like it should be acceptable to POSIX, as we still return ENOTCONN. This patch is different to what had been committed to stable/11, since code around listening sockets is different. Patch in D15019 is written by jtl@, slightly modified by me. PR: 227259 Obtained from: jtl Approved by: re (kib) Differential Revision: D15019 Changes: head/sys/kern/uipc_socket.c --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227259-7501-yCCHz5Hp1x>