We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e53f28 commit 8736356Copy full SHA for 8736356
index.js
@@ -57,7 +57,7 @@ function compression(options) {
57
58
// see #8
59
req.on('close', function(){
60
- res.write = res.end = function(){};
+ res.write = res.end = noop
61
});
62
63
// flush is noop by default
0 commit comments