mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 16:41:01 +00:00
connection_managers renamed to connection_manager
This commit is contained in:
parent
d00a18c865
commit
46ca342aba
4 changed files with 20 additions and 56 deletions
|
@ -130,7 +130,7 @@ pub fn tun_to_proxy<'a>(
|
|||
ProxyType::Socks5 => Rc::new(SocksProxyManager::new(server, Version::V5, credentials)) as Rc<dyn ConnectionManager>,
|
||||
ProxyType::Http => Rc::new(HttpManager::new(server, credentials)) as Rc<dyn ConnectionManager>,
|
||||
};
|
||||
ttp.add_connection_manager(mgr);
|
||||
ttp.set_connection_manager(Some(mgr));
|
||||
Ok(ttp)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue