Reassign capacity from reset streams. (#320)
I believe this was an oversight - a stream that is reset can still have some capacity assigned to it (e.g. if said capacity was assigned in the same poll as the reset), which should be redistributed.
This commit is contained in:
committed by
Carl Lerche
parent
b116605560
commit
6d8554a23c
@@ -325,15 +325,6 @@ impl Send {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn recv_reset<B>(
|
||||
&mut self,
|
||||
buffer: &mut Buffer<Frame<B>>,
|
||||
stream: &mut store::Ptr
|
||||
) {
|
||||
// Clear all pending outbound frames
|
||||
self.prioritize.clear_queue(buffer, stream);
|
||||
}
|
||||
|
||||
pub fn recv_err<B>(
|
||||
&mut self,
|
||||
buffer: &mut Buffer<Frame<B>>,
|
||||
|
||||
Reference in New Issue
Block a user