summaryrefslogtreecommitdiff
path: root/lib/http.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-08-23 01:25:40 +0200
committerTrevor Norris <trev.norris@gmail.com>2014-09-05 09:34:43 -0700
commit299cf84490a2f28ffdc4c82e4fb7078ac591b6d3 (patch)
treea7a153f5bdc734867dd4afcbab14d715bd509aed /lib/http.js
parent150d6f124942617428c36728c023341c83166449 (diff)
downloadandroid-node-v8-299cf84490a2f28ffdc4c82e4fb7078ac591b6d3.tar.gz
android-node-v8-299cf84490a2f28ffdc4c82e4fb7078ac591b6d3.tar.bz2
android-node-v8-299cf84490a2f28ffdc4c82e4fb7078ac591b6d3.zip
lib: unexport http.parsers
Unexport the http.parsers freelist. It was originally exported by Ryan in commit 0003c701 but the commit log doesn't mention why and it's never been documented. It's unclear if there are any users. The lifecycle of parser objects changed recently and it seems better to not let people shoot themselves in the foot so easily. If it turns out there are actually users, we can always re-export it again - probably under a slightly different name, to force people to update their code to the new way of things. Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'lib/http.js')
-rw-r--r--lib/http.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/http.js b/lib/http.js
index 9a59fd9a31..d12f12d60c 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -28,7 +28,6 @@ exports.IncomingMessage = require('_http_incoming').IncomingMessage;
var common = require('_http_common');
exports.METHODS = util._extend([], common.methods).sort();
-exports.parsers = common.parsers;
exports.OutgoingMessage = require('_http_outgoing').OutgoingMessage;