2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-25 13:49:40 +00:00
async-std/src
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
..
collections rustfmt 2019-10-04 10:09:06 -04:00
fs feat: Add Default trait 2019-10-01 18:08:24 +09:00
future future docs 2019-09-27 01:07:55 +02:00
io Merge pull request #270 from k-nasa/fix_clippy_warn 2019-10-07 15:43:20 +02:00
net fix: Remove unnecessary Borrowed 2019-10-01 18:08:24 +09:00
option rustfmt 2019-09-30 20:14:16 -04:00
os Fix uds listener hanging on accept (#272) 2019-10-07 16:49:42 +02:00
path init path submodule as unstable 2019-10-06 13:42:55 +02:00
result Using Box::pin(...) instead of Pin::from(Box::new(...)) 2019-09-30 19:42:30 -04:00
stream Merge pull request #270 from k-nasa/fix_clippy_warn 2019-10-07 15:43:20 +02:00
string Implementing Extend for String in terms of for_each now that that's been added 2019-10-01 22:39:57 -04:00
sync refactor 2019-10-01 18:08:24 +09:00
task Merge pull request #270 from k-nasa/fix_clippy_warn 2019-10-07 15:43:20 +02:00
unit FromStream for () 2019-10-04 10:08:07 -04:00
vec rustfmt 2019-10-04 10:09:06 -04:00
lib.rs init path submodule as unstable 2019-10-06 13:42:55 +02:00
pin.rs add link to std pin docs 2019-09-16 22:34:11 +02:00
prelude.rs Re-export Stream from futures 2019-09-22 16:51:18 +02:00
utils.rs Improve compile times and add comments 2019-09-26 14:21:27 -04:00