RFR: 8286171: HttpClient/2 : Expect:100-Continue blocks indefinitely when response is not 100 [v2]

Conor Cleary ccleary at openjdk.java.net
Thu Jun 9 11:27:54 UTC 2022


On Thu, 9 Jun 2022 11:06:11 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java line 424:
>> 
>>> 422:     }
>>> 423: 
>>> 424:     public void closeWhenFinished() {
>> 
>> Hello Conor, do you think it might be better if we make this package private access instead of `public`?
>
> Yes - good catch!

Good suggestion, no need for it to be public. Will do.

-------------

PR: https://git.openjdk.java.net/jdk/pull/9093


More information about the net-dev mailing list