Opened 14 years ago
Closed 14 years ago
#15763 closed Cleanup/optimization (duplicate)
MultiPartParser's LimitBytes is now redundant.
Description ¶
It appears that MultiPartParser's use of LimitBytes is now redundant, as byte limiting is enforced by the underlying stream. (Eg WSGIRequest wraps the stream in a LimitedStream wrapper if required.)
I've attached a patch, and a simple sanity check test. This patch relies on #15762, so you'll need to apply both sets of patches.
Change History (2)
by , 14 years ago
Attachment: | patch_limit_bytes_redundant.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
See #15785 for fixing the underlying problem.
Note:
See TracTickets
for help on using tickets.
Patch and test.