diff --git a/src/server/conn/auto.rs b/src/server/conn/auto.rs index 1d50cb3..2747191 100644 --- a/src/server/conn/auto.rs +++ b/src/server/conn/auto.rs @@ -26,6 +26,7 @@ type Result = std::result::Result const H2_PREFACE: &[u8] = b"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; /// Http1 or Http2 connection builder. +#[derive(Clone, Debug)] pub struct Builder { http1: http1::Builder, http2: http2::Builder,