fix graceful shutdown to close once idle (#296)
This commit is contained in:
		
				
					committed by
					
						 Carl Lerche
						Carl Lerche
					
				
			
			
				
	
			
			
			
						parent
						
							fdfb873438
						
					
				
				
					commit
					c564273986
				
			| @@ -268,7 +268,7 @@ fn graceful_shutdown() { | ||||
|         .send_frame(frames::data(7, "").eos()) | ||||
|         .send_frame(frames::data(3, "").eos()) | ||||
|         .recv_frame(frames::headers(3).response(200).eos()) | ||||
|         .close(); //TODO: closed()? | ||||
|         .recv_eof(); | ||||
|  | ||||
|     let srv = server::handshake(io) | ||||
|         .expect("handshake") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user