Handle malformed HEADERS

This commit is contained in:
Carl Lerche
2017-08-25 13:00:42 -07:00
parent 9d45255c75
commit 14f35f1be6
12 changed files with 155 additions and 54 deletions

View File

@@ -191,7 +191,7 @@ impl<B: IntoBuf> Stream<B> {
self.inner.send_trailers::<Peer>(trailers)
}
pub fn send_reset(mut self, reason: Reason) -> Result<(), ConnectionError> {
pub fn send_reset(mut self, reason: Reason) {
self.inner.send_reset::<Peer>(reason)
}
}