From 88c67b2202295c73f8f682233304daf3867936df Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 28 Jul 2021 00:37:18 +0000 Subject: 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. --- script/lei | 1 - 1 file changed, 1 deletion(-) 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 ''; -- cgit v1.2.3-24-ge0c7