Bump version v7.9.2
This commit is contained in:
parent
91d1215d5b
commit
71a937e926
3 changed files with 3 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1614,7 +1614,7 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wstunnel"
|
name = "wstunnel"
|
||||||
version = "7.9.1"
|
version = "7.9.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "wstunnel"
|
name = "wstunnel"
|
||||||
version = "7.9.1"
|
version = "7.9.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://github.com/erebe/wstunnel.git"
|
repository = "https://github.com/erebe/wstunnel.git"
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,7 @@ pub async fn connect_with_http_proxy(
|
||||||
info!("Connected to http proxy {}:{}", proxy_host, proxy_port);
|
info!("Connected to http proxy {}:{}", proxy_host, proxy_port);
|
||||||
|
|
||||||
let authorization = if let Some((user, password)) = proxy.password().map(|p| (proxy.username(), p)) {
|
let authorization = if let Some((user, password)) = proxy.password().map(|p| (proxy.username(), p)) {
|
||||||
|
let user = urlencoding::decode(user).with_context(|| format!("Cannot urldecode proxy user: {}", user))?;
|
||||||
let password =
|
let password =
|
||||||
urlencoding::decode(password).with_context(|| format!("Cannot urldecode proxy password: {}", password))?;
|
urlencoding::decode(password).with_context(|| format!("Cannot urldecode proxy password: {}", password))?;
|
||||||
let creds = base64::engine::general_purpose::STANDARD.encode(format!("{}:{}", user, password));
|
let creds = base64::engine::general_purpose::STANDARD.encode(format!("{}:{}", user, password));
|
||||||
|
|
Loading…
Reference in a new issue