We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23fe5ab commit ea2577eCopy full SHA for ea2577e
src/node/index.js
@@ -1124,7 +1124,7 @@ Request.prototype._end = function () {
1124
let parserHandlesEnd = false;
1125
if (buffer) {
1126
// Protectiona against zip bombs and other nuisance
1127
- let responseBytesLeft = this._maxResponseSize || 200_000_000;
+ let responseBytesLeft = this._maxResponseSize || 200000000;
1128
res.on('data', (buf) => {
1129
responseBytesLeft -= buf.byteLength || buf.length > 0 ? buf.length : 0;
1130
if (responseBytesLeft < 0) {
0 commit comments