add test for client sending over max concurrent limit (#105)

This commit is contained in:
Sean McArthur
2017-09-19 15:31:35 -07:00
committed by GitHub
parent db8c109817
commit 6ec7f38cd7
4 changed files with 90 additions and 1 deletions

View File

@@ -74,6 +74,10 @@ impl Settings {
self.max_concurrent_streams
}
pub fn set_max_concurrent_streams(&mut self, max: Option<u32>) {
self.max_concurrent_streams = max;
}
pub fn max_frame_size(&self) -> Option<u32> {
self.max_frame_size
}