You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Patch ClientResponse.read to release immediately after read so we don't need to worry about that / use context manager
Patching the 'ClientResponse.read' will break other libraries that depend on its behavior. My project was also using aioboto3, which led to ClientDisconnect errors.
The text was updated successfully, but these errors were encountered:
AlexExarhos
changed the title
Breaks other libraries depending
Breaks other libraries depending on aiohttp
Nov 12, 2020
Removed monkey patching as it is not absolutely necessary -- it seems to close by itself after reading to EOF or later during garbage collection now. Published change as 0.2.0. Try it and let me know if you still run into problems.
See this line:
aiohttp-requests/aiohttp_requests/__init__.py
Line 4 in 3eb08da
Patching the 'ClientResponse.read' will break other libraries that depend on its behavior. My project was also using aioboto3, which led to ClientDisconnect errors.
The text was updated successfully, but these errors were encountered: