diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-10-11 12:22:38 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-10-11 12:22:38 +0400 |
commit | 2944e03a030022e1420634b87e3a44e775184425 (patch) | |
tree | c8e6460d16bd397e58e9f466dff1141aa2099621 /lib/http.js | |
parent | 007881b6480e2ba67674b7949e6dbc6efec588fe (diff) |
Closer to a working pipe
Diffstat (limited to 'lib/http.js')
-rwxr-xr-x | lib/http.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http.js b/lib/http.js index fd7e9b68f82..ecf67749c31 100755 --- a/lib/http.js +++ b/lib/http.js @@ -196,6 +196,8 @@ function IncomingMessage (socket) { this.headers = {}; this.trailers = {}; + this.readable = true; + // request (server) only this.url = ""; @@ -291,6 +293,8 @@ function OutgoingMessage (socket) { this.output = []; this.outputEncodings = []; + this.writable = true; + this._last = false; this.chunkedEncoding = false; this.shouldKeepAlive = true; |