Closer to a working pipe
This commit is contained in:
parent
007881b648
commit
2944e03a03
@ -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;
|
||||
|
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user