diff --git a/src/proto/h2/server.rs b/src/proto/h2/server.rs index d88104cfd8..1c27a9e460 100644 --- a/src/proto/h2/server.rs +++ b/src/proto/h2/server.rs @@ -209,7 +209,12 @@ where } return Ok(Async::NotReady); } - Err(e) => return Err(::Error::new_user_service(e)), + Err(e) => { + let err = ::Error::new_user_service(e); + warn!("http2 service errored: {}", err); + self.reply.send_reset(Reason::INTERNAL_ERROR); + return Err(err); + }, }; let (head, mut body) = res.into_parts();