diff --git a/src/server/conn.rs b/src/server/conn.rs index 2198aa5a..e4aa424f 100644 --- a/src/server/conn.rs +++ b/src/server/conn.rs @@ -308,10 +308,9 @@ impl Http { where S: Service, S::Error: Into>, - //S::Future: Send + 'static, Bd: Payload, I: AsyncRead + AsyncWrite, - E: H2Exec//Box + Send>>, + E: H2Exec, { let either = match self.mode { ConnectionMode::H1Only | ConnectionMode::Fallback => {