diff --git a/src/args/mod.rs b/src/args/mod.rs index 2d4ef55..5f62d34 100644 --- a/src/args/mod.rs +++ b/src/args/mod.rs @@ -91,7 +91,6 @@ pub enum ConnType { H1ClearText, H1, H2, - H3, } impl From for ConnectionType { @@ -100,7 +99,6 @@ impl From for ConnectionType { ConnType::H1ClearText => ConnectionType::H1 { use_tls: false }, ConnType::H1 => ConnectionType::H1 { use_tls: true }, ConnType::H2 => ConnectionType::H2, - ConnType::H3 => ConnectionType::H3, } } } diff --git a/src/nq_core/connection/map.rs b/src/nq_core/connection/map.rs index 6e6edb1..c537a43 100644 --- a/src/nq_core/connection/map.rs +++ b/src/nq_core/connection/map.rs @@ -47,7 +47,7 @@ impl ConnectionManager { let stream = tls_connection(conn_type, &domain, &mut timing, io, time).await?; start_h2_conn(remote_addr, domain, timing, stream, time, shutdown).await? } - ConnectionType::H3 => todo!(), + ConnectionType::H3 => todo!(), // add in ./src/args/mod.rs when implementing }; let connection = Arc::new(RwLock::new(connection));