Re: RFR: 8209137: Add ability to bind to specific local address to HTTP client [v14]

2022-04-06 Thread Jaikiran Pai
On Mon, 4 Apr 2022 09:52:56 GMT, Jaikiran Pai wrote: >> src/java.net.http/share/classes/jdk/internal/net/http/HttpClientBuilderImpl.java >> line 140: >> >>> 138: return this; >>> 139: } >>> 140: >> >> Either this should check that localAddr is an `InetSocketAddress` and that >> p

Re: RFR: 8209137: Add ability to bind to specific local address to HTTP client [v14]

2022-03-24 Thread Daniel Fuchs
On Thu, 24 Mar 2022 06:46:01 GMT, Jaikiran Pai wrote: >> 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 specif

Re: RFR: 8209137: Add ability to bind to specific local address to HTTP client [v14]

2022-03-23 Thread Jaikiran Pai
> 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`