Skip to content

Commit

Permalink
fix: fix #284 and increase body limit for plain data
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Oct 7, 2021
1 parent 9f39171 commit a392b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request-proto/http/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default (req) =>
}
if (
req.headers['content-length'] &&
+req.headers['content-length'] > 512_000
+req.headers['content-length'] > 2_048_000
) {
return resolve();
}
Expand Down

0 comments on commit a392b82

Please sign in to comment.