Skip to content

Commit ea2577e

Browse files
committed
fix: fix numeric identifier issue
1 parent 23fe5ab commit ea2577e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ Request.prototype._end = function () {
11241124
let parserHandlesEnd = false;
11251125
if (buffer) {
11261126
// Protectiona against zip bombs and other nuisance
1127-
let responseBytesLeft = this._maxResponseSize || 200_000_000;
1127+
let responseBytesLeft = this._maxResponseSize || 200000000;
11281128
res.on('data', (buf) => {
11291129
responseBytesLeft -= buf.byteLength || buf.length > 0 ? buf.length : 0;
11301130
if (responseBytesLeft < 0) {

0 commit comments

Comments
 (0)