diff options
author | Eric Wong <e@80x24.org> | 2021-03-28 09:01:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-28 23:01:36 +0000 |
commit | c18c58eaeab19877d06146c365d300afdccc2a93 (patch) | |
tree | c51fc21aa01d26eb5f4219f887e6da802b71d770 /lib | |
parent | 0084fd94e2354fd0f197e934dd9b8852b044004a (diff) | |
download | public-inbox-c18c58eaeab19877d06146c365d300afdccc2a93.tar.gz |
We must close the socket to trigger pager exit if blob reconstruction fails. Not sure how to test this in the test suite...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/LeiBlob.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiBlob.pm b/lib/PublicInbox/LeiBlob.pm index 97747220..9b4c4f30 100644 --- a/lib/PublicInbox/LeiBlob.pm +++ b/lib/PublicInbox/LeiBlob.pm @@ -19,7 +19,7 @@ sub sol_done_wait { # dwaitpid callback sub sol_done { # EOF callback for main daemon my ($lei) = @_; - my $sol = delete $lei->{sol} or return; + my $sol = delete $lei->{sol} // return $lei->dclose; # already failed $sol->wq_wait_old(\&sol_done_wait, $lei); } |