add test when stream window overflows before conn window
This commit is contained in:
		| @@ -58,7 +58,10 @@ where | ||||
|     P: Peer, | ||||
|     B: IntoBuf, | ||||
| { | ||||
|     pub fn new(codec: Codec<T, Prioritized<B::Buf>>, settings: &frame::Settings) -> Connection<T, P, B> { | ||||
|     pub fn new( | ||||
|         codec: Codec<T, Prioritized<B::Buf>>, | ||||
|         settings: &frame::Settings, | ||||
|     ) -> Connection<T, P, B> { | ||||
|         // TODO: Actually configure | ||||
|         let streams = Streams::new(streams::Config { | ||||
|             max_remote_initiated: None, | ||||
| @@ -68,7 +71,6 @@ where | ||||
|                 .initial_window_size() | ||||
|                 .unwrap_or(DEFAULT_INITIAL_WINDOW_SIZE), | ||||
|         }); | ||||
|  | ||||
|         Connection { | ||||
|             state: State::Open, | ||||
|             codec: codec, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user