RFR: 8263442: Potential bug in jdk.internal.net.http.common.Utils.CONTEXT_RESTRICTED [v3]
Michael McMahon
michaelm at openjdk.java.net
Mon Mar 22 22:16:09 UTC 2021
> 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
Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
Updated test to test proxy authorization
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2977/files
- new: https://git.openjdk.java.net/jdk/pull/2977/files/0bcaa25a..6900f5dc
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2977&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2977&range=01-02
Stats: 96 lines in 1 file changed: 90 ins; 1 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/2977.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2977/head:pull/2977
PR: https://git.openjdk.java.net/jdk/pull/2977
More information about the net-dev
mailing list