From ec62e573f3434ace36d47a51ad9b7e3bf37c6fcc Mon Sep 17 00:00:00 2001 From: James Sumners Date: Wed, 11 Oct 2023 13:29:44 -0400 Subject: [PATCH] Fix tests on Node 20 --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 35f6291..b4ef892 100644 --- a/test/test.js +++ b/test/test.js @@ -499,7 +499,7 @@ test('log requests aborted during payload', function (t) { t.error(err) const client = net.connect(server.address().port, server.address().address, () => { - client.write('GET /delayed HTTP/1.1\r\n\r\n') + client.write('GET /delayed HTTP/1.1\r\nHost: localhost\r\n\r\n') }) client.on('data', (data) => {