ffang opened a new pull request, #3674: URL: https://github.com/apache/cxf/pull/3674
…uspends input When a single block of response data filled the buffer while a reader was waiting for data, consumeContent() waited on suspendInput before signalling the reader. Only the reader signals suspendInput, after draining the buffer, so both threads waited forever. The receive timeout did not fire, and the I/O dispatcher thread, with every connection on it, was blocked. This happens when a block is at least the reader's array plus the buffer size (chunkLength), e.g. with the 32 KiB default HTTP/1.1 buffer of httpcore5 5.4.4, or with a small chunkLength. Signal the reader before waiting for the buffer to be drained. -- 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]
