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
#3070 introduced force-closing of proxy connections, though the way it has been implemented (proto.force_close() call) doesn't work. So instead of making such hard-coded things I suggest removing this code and instead adding into documentation something like this: "If you're experiencing timeouts or other issues with proxy connections, use force_close=True to force close proxy connections after each request/response".
💡 To Reproduce
Spin up proxy
Set up Connector with high keepalive_temeout
Run session.get() call in while-loop with asyncio.sleep()
watch -n 0.5 'netstat -napt |grep 8888' where 8888 is your proxy port
See proxy connections not being closed
💡 Expected behavior
No confusing broken code in the library
Let the user decide to close or not proxy connections (just use force_close)
📋 Your version of the aiohttp/yarl/multidict distributions
$ python -m pip show aiohttpName: aiohttpVersion: 3.6.1...
📋 Additional context
client
The text was updated successfully, but these errors were encountered:
🐞 Describe the bug
#3070 introduced force-closing of proxy connections, though the way it has been implemented (
proto.force_close()
call) doesn't work. So instead of making such hard-coded things I suggest removing this code and instead adding into documentation something like this: "If you're experiencing timeouts or other issues with proxy connections, useforce_close=True
to force close proxy connections after each request/response".💡 To Reproduce
keepalive_temeout
session.get()
call in while-loop withasyncio.sleep()
watch -n 0.5 'netstat -napt |grep 8888'
where 8888 is your proxy port💡 Expected behavior
force_close
)📋 Your version of the aiohttp/yarl/multidict distributions
📋 Additional context
client
The text was updated successfully, but these errors were encountered: