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