mirror of
https://github.com/http-party/node-http-proxy.git
synced 2026-02-01 17:46:18 +00:00
[fix] do not call .end
This commit is contained in:
parent
7599cee3fd
commit
6e77cd3909
@ -103,7 +103,7 @@ function stream(req, res, options) {
|
||||
proxyRes.pipe(res);
|
||||
});
|
||||
|
||||
proxyReq.end();
|
||||
//proxyReq.end();
|
||||
|
||||
/*if(options.forward) {
|
||||
req.pipe(new ForwardStream(options));
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
] // <--
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user