[Bug 260116] [sctp] POLLOUT/EVFILT_WRITE is always true for poll/kqueue
Date: Tue, 08 Feb 2022 18:30:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260116 --- Comment #8 from Björn Svensson <bjorn.a.svensson@est.tech> --- I have noted that the non-blocking section (https://datatracker.ietf.org/doc/html/rfc6458#section-3.2) mention that an application should use caution when writing to a 1-to-many style socket and using select()/poll(). The handling of the sendbuffer is implementation specific. For 1-to-1 style sockets I can't see such warning in https://datatracker.ietf.org/doc/html/rfc6458#section-4, but maybe I have missed something. Looking at the git history also indicates that this issue should have existed for many years without any mention of it by users on mailinglists, which makes me wonder. Is the assumption that we should be able to use poll() on a 1-to-1 style socket to get sendbuffer full indications maybe wrong? -- You are receiving this mail because: You are the assignee for the bug.