]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: unconditionally call IO::Handle::blocking(0)
authorEric Wong <e@80x24.org>
Sun, 20 Dec 2020 06:30:14 +0000 (06:30 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Dec 2020 20:39:13 +0000 (20:39 +0000)
commitdf708a4f7c4d62ef685ccf9868c78ff2709c1f40
tree5f4fbf1349f3fe74096cb3c3cdf7e7120e8f4ca0
parentba958c1a44ca7e48a5790a2ecb2198636d6492db
daemon: unconditionally call IO::Handle::blocking(0)

IO::Handle::blocking will always return the initial value from
the F_GETFL op and it won't issue F_SETFL if a socket is already
non-blocking.
lib/PublicInbox/Daemon.pm