Skip to content

Commit aecfd90

Browse files
tokio-quiche: remove debug_assert! in process_write_frame
This debug_assert was introduced in #2166 and can trigger if a stream's FIN frame can't be serialized immediately due to not having enough congestion window or flow control window. Sending of the FIN stream next time window becomes available works correctly, the only problem is that this debug_assert triggers failures when running download stress tests in debug mode (in other words, when binaries are build without the --release flag)
1 parent 4d4d528 commit aecfd90

File tree

1 file changed

+0
-5
lines changed
  • tokio-quiche/src/http3/driver

1 file changed

+0
-5
lines changed

tokio-quiche/src/http3/driver/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -703,11 +703,6 @@ impl<H: DriverHooks> H3Driver<H> {
703703
let Some(frame) = &mut ctx.queued_frame else {
704704
return Ok(());
705705
};
706-
debug_assert!(
707-
ctx.recv.is_some(),
708-
"If we have a queued frame in the context, we MUST NOT be waiting
709-
on data from the channel"
710-
);
711706

712707
let audit_stats = &ctx.audit_stats;
713708
let stream_id = audit_stats.stream_id();

0 commit comments

Comments
 (0)