bneradt opened a new pull request, #13329: URL: https://github.com/apache/trafficserver/pull/13329
JSONRPC clients use nonblocking Unix sockets, so a full peer receive buffer can make write return EAGAIN. The old retry loop treated that like EINTR and immediately retried forever, which could hang the jsonrpc server tests during large request and restart coverage. This waits for socket write readiness before retrying transient backpressure and treats an unwritable or zero-byte write as a failure. This also adds a regression test that fills a socketpair and verifies that the helper returns instead of spinning. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
