mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
chore: switch to deno_tunnel crate (#30049)
switch to `deno_tunnel` crate for shared code with deploy
This commit is contained in:
parent
1dd0db2e16
commit
46009f7368
10 changed files with 132 additions and 378 deletions
|
@ -500,7 +500,7 @@ mod hyper_client {
|
|||
use std::pin::Pin;
|
||||
use std::task::Poll;
|
||||
|
||||
use deno_net::tunnel::TunnelListener;
|
||||
use deno_net::tunnel::TunnelConnection;
|
||||
use deno_net::tunnel::TunnelStream;
|
||||
use deno_net::tunnel::get_tunnel;
|
||||
use deno_tls::SocketUse;
|
||||
|
@ -544,7 +544,7 @@ mod hyper_client {
|
|||
#[derive(Debug, Clone)]
|
||||
enum Connector {
|
||||
Http(HttpsConnector<HttpConnector>),
|
||||
Tunnel(TunnelListener),
|
||||
Tunnel(TunnelConnection),
|
||||
#[cfg(any(target_os = "linux", target_os = "macos"))]
|
||||
Vsock(VsockAddr),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue