deps: h3-0.0.6

This commit is contained in:
Jun Kurihara 2024-07-02 17:03:05 +09:00
commit 9f88bfcafa
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
7 changed files with 78 additions and 44 deletions

View file

@ -36,9 +36,12 @@ pub enum RpxyError {
HyperBodyError(#[from] hyper::Error),
// http/3 errors
#[cfg(any(feature = "http3-quinn", feature = "http3-s2n"))]
#[cfg(feature = "http3-quinn")]
#[error("H3 error: {0}")]
H3Error(#[from] 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,