Open nox opened 2 years ago
By making this change, is it catching a bug and triggering a panic?
It's changing a panic a bit. I'm trying to debug a bug we have at work about the assertion self.window_size >= sz as usize
in FlowControl::send_data
as described in https://github.com/hyperium/h2/issues/607. AFAIK this is the same as this debug_assert
.
This is already asserted a few lines later anyway when calling
self.flow.send_data(len)
in the "updating connection flow" span.