Skip to content

Commit

Permalink
Remove redundant nonblocking config on async-std
Browse files Browse the repository at this point in the history
  • Loading branch information
BigWingBeat authored and Ralith committed Dec 6, 2024
1 parent 31a0440 commit 728a335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quinn/src/runtime/async_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl UdpSocket {
fn new(sock: std::net::UdpSocket) -> io::Result<Self> {
Ok(Self {
inner: udp::UdpSocketState::new((&sock).into())?,
io: Async::new(sock)?,
io: Async::new_nonblocking(sock)?,
})
}
}
Expand Down

0 comments on commit 728a335

Please sign in to comment.