Skip to content

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

@xiacunshun

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

1st1 commented Sep 4, 2023

Copy link
Copy Markdown
Member

@fantix please take a look

@xiacunshun

Copy link
Copy Markdown
Author

Is there anyboby can deal with this?

@fantix

fantix commented Sep 18, 2023

Copy link
Copy Markdown
Member

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

@xiacunshun

Copy link
Copy Markdown
Author

@fantix Is there any problem?

@xiacunshun

Copy link
Copy Markdown
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.

3 participants