-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-83037: Fix StreamWriter.wait_closed() ConnectionResetError for ProactorEventLoop #18199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
6a66228
to
ddfa933
Compare
I'll leave the |
Ping @asvetlov |
I am getting this error:
after which every invocation of IIUC, just ignoring the exception will not be enough. |
Thanks for testing it out @basnijholt, I was not comfortable yet with merging this patch yet. It seems like this issue will require some further investigation. |
I now realize this PR addresses only the loop used for Windows, I observe this issue on Linux. |
Similar issue happens in other functions (not covered in this PR) in Python 3.8.13:
|
I would ask if I can help, we also discovering ERR_NETNAME_DELETE while accpeting new connetions and this leads into closing listening socket of BaseProactorEventLoop, what is really bad. |
This is one possible fix for the given issue. There's still discussion on the issue about the proper fix.