Re: [PATCH v3 0/3] packfile URIs: support concurrent downloads
- From
Jeff King <peff@peff.net>
- Date
- Jul 25, 2026, 09:21 UTC
- Message-ID
- <20260725092154.GA1925154@coredump.intra.peff.net>
- In-Reply-To
- <20260725090910.GA1438796@coredump.intra.peff.net>
On Sat, Jul 25, 2026 at 05:09:11AM -0400, Jeff King wrote:
> So from the perspective of the server process, everything is fine, but > curl complains that it didn't get all of the bytes. Weird. The strace > shows both writing the first 1MB as expected. It's like the connection > gets hung up for some reason, but I can't tell why or by whom.
Hmph. I tried stracing on the client side, and we indeed see an EOF on the socket:
recvfrom(12, "", 16384, 0, NULL, NULL) = 0
I'm really puzzled why that is the case, though, as the server side did not close() or exit.
I do wonder if it would be possible to write this script so that it triggers via apache, like the rest of our http tests. Doing our own socket handling here is a potential source of bugs.
-Peff