summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuhei Kagawa <shuhei.kagawa@gmail.com>2019-04-28 01:47:57 +0200
committerRich Trott <rtrott@gmail.com>2019-04-30 13:11:08 -0700
commite4e6a33e6a6fbf852b2e689591cf96534b4f524e (patch)
tree60d8b92ef3bf7aa22a0a9ac317e95c1c00f91f6e
parentea46db664285869fca7bf0d464d814625aae3997 (diff)
downloadandroid-node-v8-e4e6a33e6a6fbf852b2e689591cf96534b4f524e.tar.gz
android-node-v8-e4e6a33e6a6fbf852b2e689591cf96534b4f524e.tar.bz2
android-node-v8-e4e6a33e6a6fbf852b2e689591cf96534b4f524e.zip
test: add missing line breaks to keep-alive header of slow headers test
PR-URL: https://github.com/nodejs/node/pull/27442 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
-rw-r--r--test/parallel/test-http-slow-headers-keepalive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-slow-headers-keepalive.js b/test/parallel/test-http-slow-headers-keepalive.js
index 4e62b59168..4958d534ef 100644
--- a/test/parallel/test-http-slow-headers-keepalive.js
+++ b/test/parallel/test-http-slow-headers-keepalive.js
@@ -8,7 +8,7 @@ const { finished } = require('stream');
const headers =
'GET / HTTP/1.1\r\n' +
'Host: localhost\r\n' +
- 'Connection: keep-alive' +
+ 'Connection: keep-alive\r\n' +
'Agent: node\r\n';
let sendCharEvery = 1000;