chore: fix typo
This commit is contained in:
parent
393d25560f
commit
e3af5c4917
6 changed files with 26 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue