Skip to content
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

fix deadlock in test_remote_shutdown_receives_trailing_data #559

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiacunshun
Copy link

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
Copy link
Member

1st1 commented Sep 4, 2023

@fantix please take a look

@xiacunshun
Copy link
Author

Is there anyboby can deal with this?

@fantix
Copy link
Member

fantix commented Sep 18, 2023

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

@xiacunshun
Copy link
Author

@fantix Is there any problem?

@xiacunshun
Copy link
Author

@fantix

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.

None yet

3 participants