]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
nntpd|imapd|pop3d: wait on writability, first master
authorEric Wong <e@80x24.org>
Wed, 2 Jul 2025 20:43:21 +0000 (20:43 +0000)
committerEric Wong <e@80x24.org>
Thu, 3 Jul 2025 09:49:17 +0000 (09:49 +0000)
commita0d0cf02f8fedd562de076da6f51fd7ddff9cdd3
tree85ccb65ec2710f695a9e233b520e4c42778c58c3
parenta6abff28bfa2011fdcc30b1f248e9ce5333940a8
nntpd|imapd|pop3d: wait on writability, first

While instances of the first write(2) failing with EAGAIN
immediately after being returned by accept(2) is highly
unlikely, it still seems like a theoretical possibility.  So out
of an abundance of caution, we'll just wait on writability to
reduce branches in our code.
lib/PublicInbox/DS.pm