Fix tests & bug introduced in previous commit
This commit is contained in:
@@ -48,7 +48,7 @@ impl FlowControl {
|
||||
}
|
||||
|
||||
pub fn assign_capacity(&mut self, capacity: WindowSize) {
|
||||
self.available + capacity;
|
||||
self.available += capacity;
|
||||
}
|
||||
|
||||
/// Returns the number of bytes available but not assigned to the window.
|
||||
|
||||
Reference in New Issue
Block a user