2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-21 11:49:40 +00:00
async-std/tests
Miloš Vučenović c3e38150e4 Fix uds listener hanging on accept (#272)
* Fix uds listener hanging on accept

UDS listener was hanging because the accept method would return
`Poll::Pending` without registering the task to be awoken in the case
when underlying unix listener returns a WouldBlock that gets converted
to None. This is a hacky fix for this case.

Should fix #248

* Test simulating uds ping-pong server/client

This one should reproduce #248 bug to prevent further regressions.

* Code review fixes
2019-10-07 16:49:42 +02:00
..
addr.rs Implement an async version of ToSocketAddrs (#74) 2019-09-04 20:09:49 +02:00
block_on.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
io_timeout.rs add tests for io::timeout 2019-08-21 22:22:16 +03:00
mutex.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
rwlock.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
task_local.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
tcp.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
udp.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
uds.rs Fix uds listener hanging on accept (#272) 2019-10-07 16:49:42 +02:00