FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix deadlock in test_remote_shutdown_receives_trailing_data by xiacunshun · Pull Request #559 · MagicStack/uvloop · GitHub

fix deadlock in test_remote_shutdown_receives_trailing_data - #559

Open
xiacunshun wants to merge 1 commit into
MagicStack:masterfrom
xiacunshun:master
Open

fix deadlock in test_remote_shutdown_receives_trailing_data#559
xiacunshun wants to merge 1 commit into
MagicStack:masterfrom
xiacunshun:master

Conversation

Copy link
Copy Markdown

The hanging is due to eof_received = threading.Lock() hold by client which is requested by server.
The client keep the lock because the reader.read() does not return as expected.
So I try to use asyncio.wait_for to make it return if nothing recieved.

1st1 commented Sep 4, 2023

Copy link
Copy Markdown
Member

@fantix please take a look

Copy link
Copy Markdown
Author

Is there anyboby can deal with this?

fantix commented Sep 18, 2023

Copy link
Copy Markdown
Member

Yeah, sorry for the delay! I'm looking into this.

Copy link
Copy Markdown
Author

@fantix Is there any problem?

Copy link
Copy Markdown
Author

@fantix

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL