diff options
author | Eric Wong <e@80x24.org> | 2016-05-23 04:01:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-23 05:58:35 +0000 |
commit | 347c6ee595c37d4e2214cb297811f154a41c452f (patch) | |
tree | 3c93033bac15169389ce4b579502759de1698fda /lib/PublicInbox/HTTPD.pm | |
parent | 311c2adc8c639813e0078631a8d97e5008452682 (diff) | |
download | public-inbox-347c6ee595c37d4e2214cb297811f154a41c452f.tar.gz |
We will have clients dropping connections during long clone and fetch operations; so do not retain references holding backend processes once we detect a client has dropped.
Diffstat (limited to 'lib/PublicInbox/HTTPD.pm')
-rw-r--r-- | lib/PublicInbox/HTTPD.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/PublicInbox/HTTPD.pm b/lib/PublicInbox/HTTPD.pm index 78efaa50..433d6da7 100644 --- a/lib/PublicInbox/HTTPD.pm +++ b/lib/PublicInbox/HTTPD.pm @@ -8,10 +8,7 @@ use Plack::Util; require PublicInbox::HTTPD::Async; require PublicInbox::Daemon; -sub pi_httpd_async { - my ($io, $cb) = @_; - PublicInbox::HTTPD::Async->new($io, $cb); -} +sub pi_httpd_async { PublicInbox::HTTPD::Async->new(@_) } sub new { my ($class, $sock, $app) = @_; |