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://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=1af8ec12c95028cb1c72a8e85b538ab435d5145d 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 42e02efb..a9f5edae 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 = $@) {