Skip to content

Commit

Permalink
Skip readable
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Feb 18, 2024
1 parent 78eae1f commit b439d3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neqo-common/src/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl Socket {
let mut meta = RecvMeta::default();

match self.socket.try_io(Interest::READABLE, || {
println!("READABLE");
self.state.recv(
(&self.socket).into(),
&mut [IoSliceMut::new(&mut buf)],
Expand Down Expand Up @@ -155,8 +156,8 @@ mod tests {

sleep(Duration::from_millis(100)).await;

receiver.readable().await?;
println!("readable");
// receiver.readable().await?;
// println!("readable");
let received_datagram = receiver
.recv(&receiver_addr)
.expect("receive to succeed")
Expand Down

0 comments on commit b439d3c

Please sign in to comment.