Add test that a window update can be received in reserved state (#195)
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							4cc573fa89
						
					
				
				
					commit
					10d8ed7429
				
			| @@ -238,6 +238,11 @@ impl Prioritize { | ||||
|             stream.send_flow | ||||
|         ); | ||||
|  | ||||
|         if stream.state.is_send_closed() && stream.buffered_send_data == 0 { | ||||
|             // We can't send any data, so don't bother doing anything else. | ||||
|             return Ok(()); | ||||
|         } | ||||
|  | ||||
|         // Update the stream level flow control. | ||||
|         stream.send_flow.inc_window(inc)?; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user