user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/2] lei: die on ECONNRESET
  2021-07-28  0:37  5% [PATCH 0/2] fix "make check-run" reliability Eric Wong
@ 2021-07-28  0:37  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-07-28  0:37 UTC (permalink / raw)
  To: meta

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 '';

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] fix "make check-run" reliability
@ 2021-07-28  0:37  5% Eric Wong
  2021-07-28  0:37  7% ` [PATCH 1/2] lei: die on ECONNRESET Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-07-28  0:37 UTC (permalink / raw)
  To: meta

It took me way too long to figure this out :<

Eric Wong (2):
  lei: die on ECONNRESET
  listener: maximize listen(2) backlog

 lib/PublicInbox/LEI.pm      | 1 -
 lib/PublicInbox/Listener.pm | 2 +-
 script/lei                  | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-07-28  0:37  5% [PATCH 0/2] fix "make check-run" reliability Eric Wong
2021-07-28  0:37  7% ` [PATCH 1/2] lei: die on ECONNRESET Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).