Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
http: avoid create difference hidden class
Browse files Browse the repository at this point in the history
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
JacksonTian authored and trevnorris committed Aug 21, 2014
1 parent 4ef2a5a commit c0f30f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/_http_incoming.js
Expand Up @@ -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 = {};
Expand All @@ -57,6 +59,7 @@ function IncomingMessage(socket) {

this._pendings = [];
this._pendingIndex = 0;
this.upgrade = null;

// request (server) only
this.url = '';
Expand Down

0 comments on commit c0f30f6

Please sign in to comment.