RFR: 8209137: Add ability to bind to specific local address to HTTP client [v12]
Jaikiran Pai
jpai at openjdk.java.net
Mon Feb 21 11:29:48 UTC 2022
> This change proposes to implement the enhancement noted in https://bugs.openjdk.java.net/browse/JDK-8209137.
>
> The change introduces a new API to allow applications to build a `java.net.http.HTTPClient` configured with a specific local address that will be used while creating `Socket`(s) for connections.
Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 26 additional commits since the last revision:
- Merge latest from master branch
- Merge latest changes from master branch
- fix javadoc to mention HttpClient instead of HTTPClient
- minor - rename variable in test
- Merge latest from master branch
- Merge latest from master branch
- Merge latest from master branch
- copyright year
- By default add SocketPermission for java.net.http module to allow binding to non-ephemeral ports if local bind address is configured for HTTPClient
- Merge latest master branch
- ... and 16 more: https://git.openjdk.java.net/jdk/compare/a7140142...73010886
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6690/files
- new: https://git.openjdk.java.net/jdk/pull/6690/files/11c1c6f2..73010886
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6690&range=11
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6690&range=10-11
Stats: 11241 lines in 256 files changed: 7560 ins; 2393 del; 1288 mod
Patch: https://git.openjdk.java.net/jdk/pull/6690.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6690/head:pull/6690
PR: https://git.openjdk.java.net/jdk/pull/6690
More information about the net-dev
mailing list