Thread (53 messages) read the whole thread 53 messages, 4 authors, 1d ago

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

From: Jeff King <hidden>
Date: 2026-07-25 09:21:56

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help