diff --git a/src/proto/streams/prioritize.rs b/src/proto/streams/prioritize.rs index c2904aca9..444b74cad 100644 --- a/src/proto/streams/prioritize.rs +++ b/src/proto/streams/prioritize.rs @@ -736,7 +736,7 @@ impl Prioritize { // There *must* be be enough connection level // capacity at this point. - debug_assert!(len <= self.flow.window_size()); + assert!(len <= self.flow.window_size()); tracing::trace!(len, "sending data frame");