Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'LimitedInputFilter' should be applied before the Gzip middleware as 'CONTENT_LENGTH' refers to the size of the *compressed* body. If applied in wrong order, this may cause 'copyfileobj()' to try to read more data from the socket than is available, resulting in a call to 'recv()' that hangs forever.
- Loading branch information