mirror of https://github.com/grpc/grpc-node.git
Fix merge error with proxy fixes
This commit is contained in:
parent
5aa7817c7e
commit
98e46260ef
|
@ -213,7 +213,7 @@ export function getProxiedConnection(
|
||||||
* See https://github.com/grpc/grpc-node/pull/1369 for more info. */
|
* See https://github.com/grpc/grpc-node/pull/1369 for more info. */
|
||||||
const cts = tls.connect({
|
const cts = tls.connect({
|
||||||
...connectionOptions,
|
...connectionOptions,
|
||||||
host: getDefaultAuthority(realTarget),
|
host: getDefaultAuthority(parsedTarget),
|
||||||
socket: socket,
|
socket: socket,
|
||||||
}, () => {
|
}, () => {
|
||||||
resolve({ socket: cts, realTarget: parsedTarget });
|
resolve({ socket: cts, realTarget: parsedTarget });
|
||||||
|
|
Loading…
Reference in New Issue