summaryrefslogtreecommitdiff
path: root/lib/_http_server.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-03-16 22:47:05 -0700
committerRich Trott <rtrott@gmail.com>2017-03-20 18:28:40 -0700
commitcce520a5deb0afc55a2c4e13dba6999a379ded8d (patch)
treee8ed22c6fb73ea95f5e8173a3a501b7ebd056ea9 /lib/_http_server.js
parent74c1e0264296d9dbd9bff9dae63ba9c81cae45d4 (diff)
downloadandroid-node-v8-cce520a5deb0afc55a2c4e13dba6999a379ded8d.tar.gz
android-node-v8-cce520a5deb0afc55a2c4e13dba6999a379ded8d.tar.bz2
android-node-v8-cce520a5deb0afc55a2c4e13dba6999a379ded8d.zip
tools: ignore URLs in line length linting
Where inclusion of a lengthy URL causes a line to exceed 80 characters in our code base, do not report the line length as a linting error. PR-URL: https://github.com/nodejs/node/pull/11890 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'lib/_http_server.js')
-rw-r--r--lib/_http_server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/_http_server.js b/lib/_http_server.js
index 2821db8f40..a95fe1d21c 100644
--- a/lib/_http_server.js
+++ b/lib/_http_server.js
@@ -263,11 +263,9 @@ function Server(requestListener) {
this.on('request', requestListener);
}
- /* eslint-disable max-len */
// Similar option to this. Too lazy to write my own docs.
// http://www.squid-cache.org/Doc/config/half_closed_clients/
// http://wiki.squid-cache.org/SquidFaq/InnerWorkings#What_is_a_half-closed_filedescriptor.3F
- /* eslint-enable max-len */
this.httpAllowHalfOpen = false;
this.on('connection', connectionListener);