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

Daniel Jeliński djelinski at openjdk.org
Fri Apr 19 18:15:07 UTC 2024


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

>> fix bug JDK-B6968351 by avoiding flush after response headers
>
> robert engels has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix jtreg params

src/jdk.httpserver/share/classes/sun/net/httpserver/FixedLengthOutputStream.java line 68:

> 66:         remaining --;
> 67:         if(remaining==0) {
> 68:             close();

`close()` has the side effect of closing the input stream. This again may break other code.

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

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


More information about the net-dev mailing list