rschmitt commented on PR #674: URL: https://github.com/apache/httpcomponents-core/pull/674#issuecomment-4746823899
The test failure was caused by `BrokenChunkEncoder#write` failing to handle async flushes correctly. The backpressure handling allows a state where the channel is marked closed, but data is still being flushed asynchronously. The call into `BrokenChunkEncoder#write` while in this state was triggering a `ChannelClosedException`, which got translated into a TCP RST sent from the server to the client, which then never saw the malformed chunk, the partial chunk data, or the expected `MalformedChunkCodingException`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
