We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e240026 commit 2bea74aCopy full SHA for 2bea74a
src/client/legacy/connect/proxy/mod.rs
@@ -1,7 +1,7 @@
1
//! Proxy helpers
2
3
-mod tunnel;
4
mod socks;
+mod tunnel;
5
6
-pub use self::tunnel::Tunnel;
7
pub use self::socks::Socks;
+pub use self::tunnel::Tunnel;
tests/proxy.rs
@@ -2,7 +2,10 @@ use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::net::{TcpListener, TcpStream};
use tower_service::Service;
-use hyper_util::client::legacy::connect::{proxy::{Socks, Tunnel}, HttpConnector};
+use hyper_util::client::legacy::connect::{
+ proxy::{Socks, Tunnel},
+ HttpConnector,
8
+};
9
10
#[cfg(not(miri))]
11
#[tokio::test]
@@ -276,4 +279,3 @@ async fn test_socks_with_domain_works() {
276
279
t1.await.expect("task - client");
277
280
t2.await.expect("task - proxy");
278
281
}
-
0 commit comments