[Bug 227259] accept()/poll() and shutdown()/close() - not work as in FreeBSD10, may broke many apps
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 7 16:28:10 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227259
--- Comment #10 from rozhuk.im at 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, it is
very useful.
Well, at lest return old behavior from FreeBSD 10.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list