On Tue, 23 Sep 2025 17:43:42 GMT, Josiah Noel <[email protected]> wrote:
>> Following the guideline of the last comment on >> [JDK-8349670](https://bugs.openjdk.org/browse/JDK-8349670?focusedId=14794649&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14794649), >> resolves the issue where sending a 1xx status code would close the input >> stream, preventing the server from reading the body. >> >> - When a 1xx status code is sent by `sendResponseHeaders`, the input/output >> streams will not be closed prematurely. >> - sentHeaders will not be set to true when sending 1xx status codes > > Josiah Noel has updated the pull request incrementally with one additional > commit since the last revision: > > Update InputRead100Test.java ServerImpl.java already automatically sends a 100-Continue... https://github.com/openjdk/jdk/blob/1aa62dcafd9f11ff3cb191525437e10bb789d276/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java#L865-L871 So, this is more an issue of connection upgrades. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3383384284 PR Comment: https://git.openjdk.org/jdk/pull/27069#issuecomment-3383386021
