]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/HTTPD.pm
daemon: use per-listener SIG{__WARN__} callbacks
[public-inbox.git] / lib / PublicInbox / HTTPD.pm
index e531ee707e6d0a81cd85dd8eee6e31f399105c3f..bae7281b7979f92b483a0a26c5cc7f542f7f3464 100644 (file)
@@ -47,6 +47,7 @@ sub env_for ($$$) {
                # detect when to use async paths for slow blobs
                'pi-httpd.async' => \&pi_httpd_async,
                'pi-httpd.app' => $self->{app},
+               'pi-httpd.warn_cb' => $self->{warn_cb},
        }
 }