Bump version v8.5.3

This commit is contained in:
Σrebe - Romain GERARD 2024-01-02 13:15:39 +01:00
parent bffd2470e7
commit 5ae552f713
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -2242,7 +2242,7 @@ dependencies = [
[[package]]
name = "wstunnel"
version = "8.5.2"
version = "8.5.3"
dependencies = [
"ahash",
"anyhow",

View file

@ -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

View file

@ -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,
})