Date: Sat, 07 Apr 2018 16:28:07 +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-kTIui04okc@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 #10 from rozhuk.im@gmail.com --- IMHO: - shutdown() and close() should wakes up all thread on all descriptors that wait blocking i/o. - shutdown() should generate EOF for all syscals: read()/recv/write()/send()/accept()/poll()/kqueue()/etc... - close() should generate BADFD for all syscals: read()/recv/write()/send()/accept()/poll() and kqueue() (on close kqueue fd) for all descriptors types See linux: if you call shutdown() then you know that everything wakes up, i= t is very useful. Well, at lest return old behavior from FreeBSD 10. --=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-kTIui04okc>