Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/args/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ pub enum ConnType {
H1ClearText,
H1,
H2,
H3,
}

impl From<ConnType> for ConnectionType {
Expand All @@ -100,7 +99,6 @@ impl From<ConnType> for ConnectionType {
ConnType::H1ClearText => ConnectionType::H1 { use_tls: false },
ConnType::H1 => ConnectionType::H1 { use_tls: true },
ConnType::H2 => ConnectionType::H2,
ConnType::H3 => ConnectionType::H3,
}
}
}
2 changes: 1 addition & 1 deletion src/nq_core/connection/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down