Integrated: 8263442: Potential bug in jdk.internal.net.http.common.Utils.CONTEXT_RESTRICTED
Michael McMahon
michaelm at openjdk.java.net
Tue Mar 23 13:29:42 UTC 2021
On Fri, 12 Mar 2021 21:04:59 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
> Hi,
>
> The fix for the reported bug in Utils.CONTEXT_RESTRICTED caused a couple of regression failures, which turned out to be another bug exposed by this fix where HTTP/1.1 CONNECT requests with authentication were filtering out proxy authentication headers wrongly. This was because the HttpRequestImpl created for the repeated CONNECT was putting the system headers in the user headers area of the HttpRequestImpl. The fix for that is to supply the user and system headers direct to the place where the new HttpRequestImpl is created.
>
> Thanks
> Michael
This pull request has now been integrated.
Changeset: bd7a184b
Author: Michael McMahon <michaelm at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/bd7a184b
Stats: 212 lines in 6 files changed: 196 ins; 4 del; 12 mod
8263442: Potential bug in jdk.internal.net.http.common.Utils.CONTEXT_RESTRICTED
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.java.net/jdk/pull/2977
More information about the net-dev
mailing list