Skip to content

Commit

Permalink
[fix] do not call .end
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Sep 14, 2013
1 parent 7599cee commit 6e77cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/caronte/passes/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function stream(req, res, options) {
proxyRes.pipe(res);
});

proxyReq.end();
//proxyReq.end();

/*if(options.forward) {
req.pipe(new ForwardStream(options));
Expand Down
2 changes: 1 addition & 1 deletion lib/caronte/passes/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

] // <--
Expand Down

0 comments on commit 6e77cd3

Please sign in to comment.