Commit f0ab98b1 authored by Dietmar Maurer's avatar Dietmar Maurer

HTTPServer:: mark process in shutdown phase

So that we can see what workers already closed the socket.
parent 8208f7db
...@@ -1430,6 +1430,8 @@ sub wait_end_loop { ...@@ -1430,6 +1430,8 @@ sub wait_end_loop {
undef $self->{socket_watch}; undef $self->{socket_watch};
$0 = "$0 (shutdown)" if $0 !~ m/\(shutdown\)$/;
if ($self->{conn_count} <= 0) { if ($self->{conn_count} <= 0) {
$self->{end_cond}->send(1); $self->{end_cond}->send(1);
return; return;
......
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