try to add resonable warning if client connections vanished

The proxy call is done async, so the original connection can be
closed already. This just adds a reasonable warning message. We
can remove the message later if that turns out to work as expected.
This commit is contained in:
Dietmar Maurer 2013-05-22 10:48:17 +02:00
parent 1e53b5b3f6
commit 17c8ec6486

View File

@ -334,6 +334,11 @@ sub proxy_request {
undef $w;
if (!$reqstate->{hdl}) {
warn "proxy detected vanished client connection\n";
return;
}
eval {
my $code = delete $hdr->{Status};
my $msg = delete $hdr->{Reason};