Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix merge error with proxy fixes
  • Loading branch information
murgatroid99 committed Apr 20, 2020
commit 98e46260ef0e77a1052a2c51ca468de60e7eb4b1
2 changes: 1 addition & 1 deletion packages/grpc-js/src/http_proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function getProxiedConnection(
* See https://github.com/grpc/grpc-node/pull/1369 for more info. */
const cts = tls.connect({
...connectionOptions,
host: getDefaultAuthority(realTarget),
host: getDefaultAuthority(parsedTarget),
socket: socket,
}, () => {
resolve({ socket: cts, realTarget: parsedTarget });
Expand Down