summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sequential/test-http-max-http-headers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-http-max-http-headers.js b/test/sequential/test-http-max-http-headers.js
index 9ee4d8c352..f54d238548 100644
--- a/test/sequential/test-http-max-http-headers.js
+++ b/test/sequential/test-http-max-http-headers.js
@@ -89,7 +89,7 @@ function test1() {
headers = fillHeaders(headers, currentSize);
const server = net.createServer((sock) => {
- sock.once('data', (chunk) => {
+ sock.once('data', () => {
writeHeaders(sock, headers);
sock.resume();
});