From: Eric Wong Date: Sun, 4 Jul 2021 19:35:54 +0000 (+0000) Subject: lei: drop workers on EOF from clients X-Git-Tag: v1.7.0~557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af8ec12c95028cb1c72a8e85b538ab435d5145d;p=thirdparty%2Fpublic-inbox.git lei: drop workers on EOF from clients Sometimes a user will be bored waiting for a command to finish, so ensure we drop disconnect workers in this case. --- diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 42e02efb5..a9f5edaeb 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -1095,6 +1095,7 @@ sub event_step { } die "unrecognized client signal: $buf"; } + _drop_wq($self); # EOF, client disconnected dclose($self); }; if (my $err = $@) {