mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
Resolve AP through proxy as well
This commit is contained in:
parent
3bdc5e0073
commit
1a04e3b899
6 changed files with 63 additions and 37 deletions
|
@ -56,7 +56,7 @@ impl Session {
|
|||
let proxy = config.proxy.clone();
|
||||
let connection = access_point.and_then(move |addr| {
|
||||
info!("Connecting to AP \"{}\"", addr);
|
||||
connection::connect::<&str>(&addr, &handle_, &proxy)
|
||||
connection::connect(addr, &handle_, &proxy)
|
||||
});
|
||||
|
||||
let device_id = config.device_id.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue