On Fri, 19 Apr 2024 17:51:27 GMT, robert engels <d...@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

Reply via email to