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

--- Comment #10 from rozhuk...@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.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to