Skip to content

Commit

Permalink
PR pnuckowski#174 from main repository
Browse files Browse the repository at this point in the history
  • Loading branch information
gaffney committed Oct 26, 2020
1 parent e61977f commit db19e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioresponses/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def stream_reader_factory( # noqa
loop: 'Optional[asyncio.AbstractEventLoop]' = None
):
protocol = ResponseHandler(loop=loop)
return StreamReader(protocol, loop=loop)
return StreamReader(protocol, limit=2 ** 16, loop=loop)

else:

Expand Down

0 comments on commit db19e61

Please sign in to comment.