mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[minor] Indentation fix
This commit is contained in:
parent
63ac925260
commit
9e630daf81
@ -218,14 +218,13 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
function ondata(chunk) {
|
||||
if (res.writable) {
|
||||
if (false === res.write(chunk) && response.pause) {
|
||||
response.pause();
|
||||
}
|
||||
if (res.writable) {
|
||||
if (false === res.write(chunk) && response.pause) {
|
||||
response.pause();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
response.on('data', ondata);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user