RFR: 6968351: httpserver clashes with delayed TCP ACKs for low Content-Length [v6]

robert engels duke at openjdk.org
Fri Apr 19 18:43:18 UTC 2024


On Fri, 19 Apr 2024 18:17:56 GMT, robert engels <duke at openjdk.org> wrote:

>> https://github.com/openjdk/jdk/blob/b704e91241b0f84d866f50a8f2c6af240087cb29/src/jdk.httpserver/share/classes/sun/net/httpserver/ChunkedOutputStream.java#L140-L144
>
> I figured out what you are referring to. Let me look at this, I am pretty sure I can remove the first flush.

I posted a fix which addresses this. I will modify the test case to test both methods of returning the data.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18667#discussion_r1572772695


More information about the net-dev mailing list