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

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