Refacto: Use proper type for WsServer
This commit is contained in:
parent
a33a889b3d
commit
7d30e0f462
6 changed files with 422 additions and 411 deletions
src/protocols/tls
|
@ -1,4 +1,3 @@
|
|||
use crate::TlsServerConfig;
|
||||
use anyhow::{anyhow, Context};
|
||||
use std::fs::File;
|
||||
|
||||
|
@ -10,6 +9,7 @@ use tokio::net::TcpStream;
|
|||
use tokio_rustls::client::TlsStream;
|
||||
|
||||
use crate::tunnel::client::WsClientConfig;
|
||||
use crate::tunnel::server::TlsServerConfig;
|
||||
use crate::tunnel::TransportAddr;
|
||||
use tokio_rustls::rustls::client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier};
|
||||
use tokio_rustls::rustls::pki_types::{CertificateDer, PrivateKeyDer, ServerName, UnixTime};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue