Closer to a working pipe

This commit is contained in:
Ryan Dahl 2010-10-11 01:22:38 -07:00
parent 007881b648
commit 2944e03a03
2 changed files with 4 additions and 5 deletions

View File

@ -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;

View File

@ -100,11 +100,6 @@ function startClient () {
gotThanks = true;
});
});
client.on('error', function (e) {
console.log("http client-side error: " + e.message);
process.exit(2);
});
}
process.on('exit', function () {