fix(http1): remove panic for HTTP upgrades that have been ignored (#2115)
Closes #2114
This commit is contained in:
		| @@ -902,7 +902,6 @@ impl State { | ||||
|     } | ||||
|  | ||||
|     fn prepare_upgrade(&mut self) -> crate::upgrade::OnUpgrade { | ||||
|         debug_assert!(self.upgrade.is_none()); | ||||
|         let (tx, rx) = crate::upgrade::pending(); | ||||
|         self.upgrade = Some(tx); | ||||
|         rx | ||||
|   | ||||
		Reference in New Issue
	
	Block a user