On Tue, 11 Aug 2026 13:51:56 GMT, Daniel Fuchs <[email protected]> wrote:
>> test/jdk/com/sun/net/httpserver/property/DrainAmountPropertyTest.java line
>> 174:
>>
>>> 172: var inputStream = clientSocket.getInputStream();
>>> 173: assertEquals("HTTP/1.1 204 No Content",
>>> readUntilCrLf(inputStream));
>>> 174: while (!readUntilCrLf(inputStream).isEmpty());
>>
>> I haven't grasped what this while loop is for. Can a brief comment be added
>> for it?
>
> Skip over field-lines until it reaches the empty line that marks the end of
> the field-line section.
Added in 15a7a087ab9.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/32234#discussion_r3764090647