[fix] do not call .end

This commit is contained in:
yawnt 2013-09-15 00:43:01 +02:00
parent 7599cee3fd
commit 6e77cd3909
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ function stream(req, res, options) {
proxyRes.pipe(res);
});
proxyReq.end();
//proxyReq.end();
/*if(options.forward) {
req.pipe(new ForwardStream(options));

View File

@ -90,7 +90,7 @@ function stream(req, socket, options, head) {
proxySocket.pipe(socket).pipe(proxySocket);
});
proxyReq.end();
proxyReq.end(); // XXX: CHECK IF THIS IS THIS CORRECT
}
] // <--