Skip to content

Commit ffa487e

Browse files
committed
test: update CONNECT Host header expectation
Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
1 parent 37bfadc commit ffa487e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-tls-over-http-tunnel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const proxy = net.createServer(common.mustCall((clientSocket) => {
6161
`CONNECT localhost:${server.address().port} ` +
6262
'HTTP/1.1\r\n' +
6363
'Proxy-Connections: keep-alive\r\n' +
64-
`Host: localhost:${proxy.address().port}\r\n` +
64+
`Host: localhost:${server.address().port}\r\n` +
6565
'Connection: keep-alive\r\n\r\n');
6666

6767
console.log('PROXY: got CONNECT request');

0 commit comments

Comments
 (0)