Closed
Description
Hi,
I need to manually poll an UdpSocket to drive it from a poll_next
method.
I've read #636, where @stjepang suggests to just recreate the future on each poll. I've set up an example here:
https://github.com/Frando/async-std-udp-test/blob/main/src/main.rs
When pinning async_std
to =1.6.2
this works as it should. When changing the async_std
version to 1.9
, the example fails: The reading side is not woken after a first read_from
returns Poll::Pending
.
Is there something I'm missing, or is this a regression?
I'll try to track down from which version it fails (the 1.6.2 comes from another crate that depended on this version, from where I started debugging why things don't work anymore).
Metadata
Metadata
Assignees
Labels
No labels