]> Sergey Matveev's repositories - public-inbox.git/commit
ds: do not distinguish between POLLHUP and POLLERR
authorEric Wong <e@80x24.org>
Mon, 10 Jun 2019 03:02:11 +0000 (03:02 +0000)
committerEric Wong <e@80x24.org>
Mon, 10 Jun 2019 05:05:15 +0000 (05:05 +0000)
commit6feb58ba2e9dee57b474e82e871a8945b537325e
treef80fe9b7950ecbbd94b83bf13aeb59f39a2a2932
parenta68d7b5b57fd045e17188ab743905564afbd9b05
ds: do not distinguish between POLLHUP and POLLERR

In my experience, both are worthless as any normal read/write
call path will be wanting to check errors and deal with them
appropriately; so we can just call event_read, for now.

Eventually, there'll probably be only one callback for dealing
with all in/out/err/hup events to simplify logic, especially w.r.t
TLS socket negotiation.
lib/PublicInbox/DS.pm
lib/PublicInbox/HTTP.pm
lib/PublicInbox/HTTPD/Async.pm
lib/PublicInbox/NNTP.pm