We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37bfadc commit ffa487eCopy full SHA for ffa487e
1 file changed
test/parallel/test-tls-over-http-tunnel.js
@@ -61,7 +61,7 @@ const proxy = net.createServer(common.mustCall((clientSocket) => {
61
`CONNECT localhost:${server.address().port} ` +
62
'HTTP/1.1\r\n' +
63
'Proxy-Connections: keep-alive\r\n' +
64
- `Host: localhost:${proxy.address().port}\r\n` +
+ `Host: localhost:${server.address().port}\r\n` +
65
'Connection: keep-alive\r\n\r\n');
66
67
console.log('PROXY: got CONNECT request');
0 commit comments