diff options
author | Jackson Tian <shyvo1987@gmail.com> | 2014-08-22 00:05:42 +0800 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-08-21 16:29:52 -0700 |
commit | c0f30f6058f27694dd4faaf4040c804769999ac1 (patch) | |
tree | 05540fe809e2a7e8f70d8df29aba31d2cea57276 | |
parent | 4ef2a5a6720c17870e3b91b224fb3dc1e3655d27 (diff) | |
download | nodejs-c0f30f6058f27694dd4faaf4040c804769999ac1.tar.gz nodejs-c0f30f6058f27694dd4faaf4040c804769999ac1.tar.bz2 nodejs-c0f30f6058f27694dd4faaf4040c804769999ac1.zip |
http: avoid create difference hidden class
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
-rw-r--r-- | lib/_http_incoming.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/_http_incoming.js b/lib/_http_incoming.js index ea92bfe7b..b31754d95 100644 --- a/lib/_http_incoming.js +++ b/lib/_http_incoming.js @@ -46,6 +46,8 @@ function IncomingMessage(socket) { this.socket = socket; this.connection = socket; + this.httpVersionMajor = null; + this.httpVersionMinor = null; this.httpVersion = null; this.complete = false; this.headers = {}; @@ -57,6 +59,7 @@ function IncomingMessage(socket) { this._pendings = []; this._pendingIndex = 0; + this.upgrade = null; // request (server) only this.url = ''; |