diff options
author | Eric Wong <e@80x24.org> | 2016-02-25 05:26:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-25 05:26:40 +0000 |
commit | 92caa961d72bbb4a6e739b8a50927e62aa3a3e8f (patch) | |
tree | 094dc40cc97ecbc65d046e6a7be451bbb422e43e /lib/PublicInbox/HTTP.pm | |
parent | 0258ba3cd2d32ee46f95e9fc8d0adeb857459d64 (diff) | |
download | public-inbox-92caa961d72bbb4a6e739b8a50927e62aa3a3e8f.tar.gz |
Danga::Socket will die on us if we hit the base implementations.
Diffstat (limited to 'lib/PublicInbox/HTTP.pm')
-rw-r--r-- | lib/PublicInbox/HTTP.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/HTTP.pm b/lib/PublicInbox/HTTP.pm index a5149ac2..f65dedaa 100644 --- a/lib/PublicInbox/HTTP.pm +++ b/lib/PublicInbox/HTTP.pm @@ -331,4 +331,9 @@ sub quit { $self->close; } +# callbacks for Danga::Socket + +sub event_hup { $_[0]->close } +sub event_err { $_[0]->close } + 1; |