diff options
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 b0bf94ad..d10ec51c 100644 --- a/lib/PublicInbox/HTTPD.pm +++ b/lib/PublicInbox/HTTPD.pm @@ -39,10 +39,7 @@ sub new { # The rest of our PSGI code is generic, relying # on "pull" model using "getline" to prevent # over-buffering. - 'pi-httpd.async' => do { - no warnings 'once'; - *pi_httpd_async - }, + 'pi-httpd.async' => \&pi_httpd_async ); bless { app => $app, |