mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-04 12:24:45 +00:00
get_credentials removed
This commit is contained in:
parent
2122cc0ba8
commit
59fa5b155e
3 changed files with 3 additions and 12 deletions
|
@ -401,7 +401,7 @@ impl ConnectionManager for HttpManager {
|
|||
}
|
||||
Ok(Box::new(HttpConnection::new(
|
||||
info,
|
||||
self.get_credentials().clone(),
|
||||
self.credentials.clone(),
|
||||
self.digest_state.clone(),
|
||||
)?))
|
||||
}
|
||||
|
@ -409,10 +409,6 @@ impl ConnectionManager for HttpManager {
|
|||
fn get_server_addr(&self) -> SocketAddr {
|
||||
self.server
|
||||
}
|
||||
|
||||
fn get_credentials(&self) -> &Option<UserKey> {
|
||||
&self.credentials
|
||||
}
|
||||
}
|
||||
|
||||
impl HttpManager {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue