mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-13 17:35:37 +00:00
refactor: remove NoGroAsyncUdpSocket (#1867)
This commit is contained in:
@@ -105,7 +105,9 @@ pub async fn create_connector_by_url(
|
||||
IpScheme::Tcp => TcpTunnelConnector::new(url).boxed(),
|
||||
IpScheme::Udp => UdpTunnelConnector::new(url).boxed(),
|
||||
#[cfg(feature = "quic")]
|
||||
IpScheme::Quic => tunnel::quic::QuicTunnelConnector::new(url).boxed(),
|
||||
IpScheme::Quic => {
|
||||
tunnel::quic::QuicTunnelConnector::new(url, global_ctx.clone()).boxed()
|
||||
}
|
||||
#[cfg(feature = "wireguard")]
|
||||
IpScheme::Wg => {
|
||||
use crate::tunnel::wireguard::{WgConfig, WgTunnelConnector};
|
||||
|
||||
Reference in New Issue
Block a user