Date: Tue, 08 Feb 2022 18:30:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260116] [sctp] POLLOUT/EVFILT_WRITE is always true for poll/kqueue Message-ID: <bug-260116-227-wdORm9oA4L@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260116-227@https.bugs.freebsd.org/bugzilla/> References: <bug-260116-227@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=3D260116 --- Comment #8 from Bj=C3=B6rn 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 exist= ed for many years without any mention of it by users on mailinglists, which ma= kes me wonder. Is the assumption that we should be able to use poll() on a 1-to-1 style so= cket to get sendbuffer full indications maybe wrong? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260116-227-wdORm9oA4L>