diff --git a/src/http.rs b/src/http.rs index c04f642..e225940 100644 --- a/src/http.rs +++ b/src/http.rs @@ -406,7 +406,7 @@ impl ProxyHandlerManager for HttpManager { _udp_associate: bool, ) -> std::io::Result>> { if info.protocol != IpProtocol::Tcp { - return Err(Error::from("Invalid protocol").into()); + return Err(Error::from("Protocol not supported by HTTP proxy").into()); } Ok(Arc::new(Mutex::new( HttpConnection::new(info, domain_name, self.credentials.clone(), self.digest_state.clone()).await?,