chore: fix typo

This commit is contained in:
Jun Kurihara 2024-07-10 11:05:03 +09:00
commit e3af5c4917
No known key found for this signature in database
GPG key ID: 6D3FEE70E498C15B
6 changed files with 26 additions and 18 deletions

View file

@ -22,6 +22,7 @@ http3-s2n = [
"s2n-quic-rustls",
"s2n-quic-h3",
"rpxy-certs/http3",
"h3",
]
cache = ["http-cache-semantics", "lru", "sha2", "base64"]
sticky-cookie = ["base64", "sha2", "chrono"]
@ -44,7 +45,7 @@ tokio = { version = "1.38.0", default-features = false, features = [
"fs",
] }
pin-project-lite = "0.2.14"
async-trait = "0.1.80"
async-trait = "0.1.81"
# Error handling
anyhow = "1.0.86"
@ -53,7 +54,7 @@ thiserror = "1.0.61"
# http for both server and client
http = "1.1.0"
http-body-util = "0.1.2"
hyper = { version = "1.4.0", default-features = false }
hyper = { version = "1.4.1", default-features = false }
hyper-util = { version = "0.1.6", features = ["full"] }
futures-util = { version = "0.3.30", default-features = false }
futures-channel = { version = "0.3.30", default-features = false }
@ -75,7 +76,7 @@ hyper-rustls = { git = "https://github.com/junkurihara/hyper-rustls", branch = "
# tls and cert management for server
rpxy-certs = { path = "../rpxy-certs/", default-features = false }
hot_reload = "0.1.5"
rustls = { version = "0.23.10", default-features = false }
rustls = { version = "0.23.11", default-features = false }
tokio-rustls = { version = "0.26.0", features = ["early-data"] }
# logging
@ -88,11 +89,11 @@ h3-quinn = { version = "0.0.7", optional = true }
s2n-quic-h3 = { path = "../submodules/s2n-quic-h3/", features = [
"tracing",
], optional = true }
s2n-quic = { version = "1.41.0", default-features = false, features = [
s2n-quic = { version = "1.42.0", default-features = false, features = [
"provider-tls-rustls",
], optional = true }
s2n-quic-core = { version = "0.41.0", default-features = false, optional = true }
s2n-quic-rustls = { version = "0.41.0", optional = true }
s2n-quic-core = { version = "0.42.0", default-features = false, optional = true }
s2n-quic-rustls = { version = "0.42.0", optional = true }
##########
# for UDP socket wit SO_REUSEADDR when h3 with quinn
socket2 = { version = "0.5.7", features = ["all"], optional = true }

View file

@ -36,12 +36,12 @@ pub enum RpxyError {
HyperBodyError(#[from] hyper::Error),
// http/3 errors
#[cfg(feature = "http3-quinn")]
#[cfg(any(feature = "http3-quinn", feature = "http3-s2n"))]
#[error("H3 error: {0}")]
H3Error(#[from] h3::Error),
#[cfg(feature = "http3-s2n")]
#[error("H3 error: {0}")]
H3Error(#[from] s2n_quic_h3::h3::Error),
// #[cfg(feature = "http3-s2n")]
// #[error("H3 error: {0}")]
// H3Error(#[from] s2n_quic_h3::h3::Error),
#[cfg(any(feature = "http3-quinn", feature = "http3-s2n"))]
#[error("Exceeds max request body size for HTTP/3")]
H3TooLargeBody,