Re: [PATCH v3 0/3] packfile URIs: support concurrent downloads

Jeff King <[email protected]>
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.