> 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 > - 100-continue will be sent automatically when trying to read the inputstream > if `Expect: 100-continue` header is present
Josiah Noel has updated the pull request incrementally with one additional commit since the last revision: fix message ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27069/files - new: https://git.openjdk.org/jdk/pull/27069/files/c8fbcba2..9d3f0943 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27069&range=15 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27069&range=14-15 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/27069.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27069/head:pull/27069 PR: https://git.openjdk.org/jdk/pull/27069
