On Fri, 19 Apr 2024 18:44:52 GMT, Daniel Fuchs <[email protected]> wrote:
>> robert engels has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> fix chunked response for small packets
>
> src/jdk.httpserver/share/classes/sun/net/httpserver/ChunkedOutputStream.java
> line 142:
>
>> 140: try {
>> 141: /* write any pending chunk data */
>> 142: writeChunk();
>
> Isn't there a risk that you might write two empty chunks here if there are no
> pending chunks?
yes, let me fixed that.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18667#discussion_r1572781977