"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: make 'got send' detect closed connections
To:
Omar Polo <op@omarpolo.com>, gameoftrees@openbsd.org
Date:
Thu, 14 Sep 2023 09:54:54 +0200

Download raw body.

Thread
On Wed, Sep 13, 2023 at 10:19:13PM +0200, Stefan Sperling wrote:
> Here is a working diff using SIGCHLD.

Well, not quite. I am seeing spurious disconnects when sending to
Github while running with this patch...

Maybe the signal-based approach is just too inherently racy to
easily get right. Should we go for polling after all?