diff options
author | Eric Wong <e@80x24.org> | 2019-06-10 03:02:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-10 05:05:15 +0000 |
commit | 6feb58ba2e9dee57b474e82e871a8945b537325e (patch) | |
tree | f80fe9b7950ecbbd94b83bf13aeb59f39a2a2932 /lib/PublicInbox/HTTPD/Async.pm | |
parent | a68d7b5b57fd045e17188ab743905564afbd9b05 (diff) | |
download | public-inbox-6feb58ba2e9dee57b474e82e871a8945b537325e.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox/HTTPD/Async.pm')
-rw-r--r-- | lib/PublicInbox/HTTPD/Async.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/HTTPD/Async.pm b/lib/PublicInbox/HTTPD/Async.pm index 60701085..4d0c8d5b 100644 --- a/lib/PublicInbox/HTTPD/Async.pm +++ b/lib/PublicInbox/HTTPD/Async.pm @@ -76,8 +76,6 @@ sub async_pass { } sub event_read { $_[0]->{cb}->(@_) } -sub event_hup { $_[0]->{cb}->(@_) } -sub event_err { $_[0]->{cb}->(@_) } sub close { my $self = shift; |