diff --git a/src/client/conn/http2.rs b/src/client/conn/http2.rs index 94dafb9f50..3b51a6114d 100644 --- a/src/client/conn/http2.rs +++ b/src/client/conn/http2.rs @@ -24,6 +24,12 @@ pub struct SendRequest { dispatch: dispatch::UnboundedSender, Response>, } +impl Clone for SendRequest { + fn clone(&self) -> SendRequest { + SendRequest { dispatch: self.dispatch.clone() } + } +} + /// A future that processes all HTTP state for the IO object. /// /// In most cases, this should just be spawned into an executor, so that it