mirror of https://github.com/grpc/grpc-java.git
core: Add port to proxy URL for Authenticator
Otherwise the scheme (https) is used to determine the port.
This commit is contained in:
parent
698ba803d5
commit
8016a1f0e5
|
|
@ -49,7 +49,7 @@ class ProxyDetectorImpl implements ProxyDetector {
|
|||
String host, InetAddress addr, int port, String protocol, String prompt, String scheme) {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL(protocol, host, "");
|
||||
url = new URL(protocol, host, port, "");
|
||||
} catch (MalformedURLException e) {
|
||||
// let url be null
|
||||
log.log(
|
||||
|
|
|
|||
Loading…
Reference in New Issue