uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

fix deadlock in test_remote_shutdown_receives_trailing_data

Open xiacunshun opened this issue 1 year ago • 5 comments

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.

xiacunshun avatar Sep 04 '23 16:09 xiacunshun

@fantix please take a look

1st1 avatar Sep 04 '23 17:09 1st1

Is there anyboby can deal with this?

xiacunshun avatar Sep 18 '23 11:09 xiacunshun

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

fantix avatar Sep 18 '23 14:09 fantix

@fantix Is there any problem?

xiacunshun avatar Oct 17 '23 09:10 xiacunshun

@fantix

xiacunshun avatar Jan 26 '24 09:01 xiacunshun