mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-25 04:35:17 +00:00
Don't unconditionally predict transmits on reset
The exact logic should handle this case just fine.
This commit is contained in:
committed by
Dirkjan Ochtman
parent
7ba3e3d3d3
commit
6616bc958a
@@ -299,7 +299,7 @@ impl<'a> Chunks<'a> {
|
||||
return ShouldTransmit(false);
|
||||
}
|
||||
|
||||
let mut should_transmit = matches!(state, ChunksState::Reset(_));
|
||||
let mut should_transmit = false;
|
||||
// We issue additional stream ID credit iff a remotely-initiated stream stream is finished or reset
|
||||
if matches!(state, ChunksState::Finished | ChunksState::Reset(_))
|
||||
&& self.streams.side != self.id.initiator()
|
||||
|
||||
Reference in New Issue
Block a user