Bump version v8.5.3
This commit is contained in:
parent
bffd2470e7
commit
5ae552f713
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2242,7 +2242,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "wstunnel"
|
||||
version = "8.5.2"
|
||||
version = "8.5.3"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"anyhow",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "wstunnel"
|
||||
version = "8.5.2"
|
||||
version = "8.5.3"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/erebe/wstunnel.git"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -179,7 +179,7 @@ where
|
|||
.and_then(|h| h.to_str().ok())
|
||||
.and_then(|h| base64::engine::general_purpose::STANDARD.decode(h).ok())
|
||||
.and_then(|h| Url::parse(&String::from_utf8_lossy(&h)).ok())
|
||||
.and_then(|url| match (url.host(), url.port()) {
|
||||
.and_then(|url| match (url.host(), url.port_or_known_default()) {
|
||||
(Some(h), Some(p)) => Some((h.to_owned(), p)),
|
||||
_ => None,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue