From 4e61f21c2fe3a7119de16b5e7459b508fd7d8a99 Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Sat, 18 Apr 2020 17:58:11 +0200 Subject: [PATCH] grpc-js: do not set host when instantiating tls socket --- packages/grpc-js/src/http_proxy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/grpc-js/src/http_proxy.ts b/packages/grpc-js/src/http_proxy.ts index cde1d4213..dd5e1bbf8 100644 --- a/packages/grpc-js/src/http_proxy.ts +++ b/packages/grpc-js/src/http_proxy.ts @@ -207,7 +207,6 @@ export function getProxiedConnection( ); var cts = tls.connect({ ...connectionOptions, - host: options.host, socket: socket }, function () { resolve({