]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/HTTP.pm
httpd: fill in missing Danga::Socket callbacks
[public-inbox.git] / lib / PublicInbox / HTTP.pm
index a5149ac2b85bdfc9d79f8f1e100f8b6092a76ed6..f65dedaae2c5a64e3935b7ef0304b4560387a7b4 100644 (file)
@@ -331,4 +331,9 @@ sub quit {
        $self->close;
 }
 
+# callbacks for Danga::Socket
+
+sub event_hup { $_[0]->close }
+sub event_err { $_[0]->close }
+
 1;