From: Eric Wong Date: Wed, 28 Jul 2021 00:37:18 +0000 (+0000) Subject: lei: die on ECONNRESET X-Git-Tag: v1.7.0~529 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=88c67b2202295c73f8f682233304daf3867936df;p=public-inbox.git lei: die on ECONNRESET ECONNRESET should be rare on a private local socket, and if we hit it, it's because we're hitting the listen() limit. --- diff --git a/script/lei b/script/lei index fce8124a..99d94b4e 100755 --- a/script/lei +++ b/script/lei @@ -115,7 +115,6 @@ while (1) { my (@fds) = $recv_cmd->($sock, my $buf, 4096 * 33); if (scalar(@fds) == 1 && !defined($fds[0])) { next if $!{EINTR}; - last if $!{ECONNRESET}; die "recvmsg: $!"; } last if $buf eq '';