-
Notifications
You must be signed in to change notification settings - Fork 451
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
ProactorEventLoop bug reproduced: UDP server stops accepting datagrams from any clients after a single client disconnects #7972
Labels
Comments
The reason for the bug:
|
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 17, 2024
…ents after a single client disconnects
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 18, 2024
…ents after a single client disconnects
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 18, 2024
…ents after a single client disconnects
This was referenced Apr 18, 2024
after version 7.13.1 upgrade all existing downloads stopped downloading with anynomity enabled
#7805
Closed
kozlovsky
added a commit
that referenced
this issue
Apr 18, 2024
Fixes #7972: UDP server stops accepting datagrams from any clients after a single client disconnects
kozlovsky
added a commit
that referenced
this issue
Apr 18, 2024
…ny clients after a single client disconnects (cherry picked from commit 449b864)
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 18, 2024
… from any clients after a single client disconnects (cherry picked from commit 449b864)
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 18, 2024
… from any clients after a single client disconnects (cherry picked from commit 449b864)
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 18, 2024
… from any clients after a single client disconnects (cherry picked from commit 449b864)
kozlovsky
added a commit
to kozlovsky/tribler
that referenced
this issue
Apr 19, 2024
… from any clients after a single client disconnects (cherry picked from commit 449b864)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is possible to have the following situation of Windows with ProactorEventLoop easily:
connection_made
,datagram_received
,error_received
, andconnection_lost
) until restarted.The following is an example that reproduces the bug:
server.py
client.py
You can run "server.py" and check that after receiving the message from the first client, all other clients are ignored, and the server hangs.
See CPython issues #88906, #91227
The issue was fixed three weeks ago in the main Python branch and will be included in the subsequent releases for Python 3.11 and 3.12.
I backported the fix to Python 3.8 and above; I am preparing the PR now.
The text was updated successfully, but these errors were encountered: