Commit b51d83cb authored by Dietmar Maurer's avatar Dietmar Maurer

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.
parent e0a7581c
...@@ -334,6 +334,11 @@ sub proxy_request { ...@@ -334,6 +334,11 @@ sub proxy_request {
undef $w; undef $w;
if (!$reqstate->{hdl}) {
warn "proxy detected vanished client connection\n";
return;
}
eval { eval {
my $code = delete $hdr->{Status}; my $code = delete $hdr->{Status};
my $msg = delete $hdr->{Reason}; my $msg = delete $hdr->{Reason};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment