RFR: 8209137: Add ability to bind to specific local address to HTTP client [v13]
Jaikiran Pai
jpai at openjdk.java.net
Mon Feb 28 12:48:41 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 27 additional commits since the last revision:
- merge latest from master branch
- 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
- ... and 17 more: https://git.openjdk.java.net/jdk/compare/1e84652c...e163f13c
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6690/files
- new: https://git.openjdk.java.net/jdk/pull/6690/files/73010886..e163f13c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6690&range=12
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6690&range=11-12
Stats: 10445 lines in 242 files changed: 7851 ins; 751 del; 1843 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