Use FlowControl::available to size data frames (#29)

This commit is contained in:
Carl Lerche
2017-08-23 20:34:58 -07:00
committed by GitHub
parent f839443ece
commit 7e8c7fd2b8
4 changed files with 81 additions and 16 deletions

View File

@@ -93,6 +93,8 @@ impl FlowControl {
return Err(FlowControlError.into());
}
trace!("inc_window; sz={}; old={}; new={}", sz, self.window_size, val);
self.window_size = val;
Ok(())
}