lint
This commit is contained in:
parent
ce04666b8b
commit
89e71cc806
3 changed files with 6 additions and 6 deletions
|
@ -65,8 +65,8 @@ impl TunnelConnector for Socks5TunnelConnector<'_> {
|
|||
|
||||
async fn connect_with_http_proxy(
|
||||
&self,
|
||||
proxy: &Url,
|
||||
remote: &Option<RemoteAddr>,
|
||||
_proxy: &Url,
|
||||
_remote: &Option<RemoteAddr>,
|
||||
) -> anyhow::Result<(Self::Reader, Self::Writer)> {
|
||||
Err(anyhow!("SOCKS5 tunneling is not supported with HTTP proxy"))
|
||||
}
|
||||
|
|
|
@ -49,8 +49,8 @@ impl TunnelConnector for UdpTunnelConnector<'_> {
|
|||
|
||||
async fn connect_with_http_proxy(
|
||||
&self,
|
||||
proxy: &Url,
|
||||
remote: &Option<RemoteAddr>,
|
||||
_proxy: &Url,
|
||||
_remote: &Option<RemoteAddr>,
|
||||
) -> anyhow::Result<(Self::Reader, Self::Writer)> {
|
||||
Err(anyhow!("UDP tunneling is not supported with HTTP proxy"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue