We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fea7a7 commit 6479895Copy full SHA for 6479895
1 file changed
core/src/net/event_loop.rs
@@ -304,7 +304,7 @@ impl<'e> EventLoop<'e> {
304
// have already consumed all pending SQEs, making `_count == 0` even
305
// when completed CQEs are sitting in the completion queue.
306
for cqe in &mut cq {
307
- let token = u64::try_from(cqe.user_data()).expect("token overflow");
+ let token = cqe.user_data();
308
if crate::common::constants::IO_URING_TIMEOUT_USERDATA == token {
309
continue;
310
}
0 commit comments