diff options
Diffstat (limited to 'src/h3_support.rs')
-rw-r--r-- | src/h3_support.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/h3_support.rs b/src/h3_support.rs index 9c17c25..c3e8866 100644 --- a/src/h3_support.rs +++ b/src/h3_support.rs @@ -28,7 +28,7 @@ impl Body for H3RequestBody { Poll::Ready(Some(Ok(Frame::data(f.copy_to_bytes(f.remaining()))))) } Poll::Ready(Ok(None)) => Poll::Ready(None), - Poll::Ready(Err(e)) => Poll::Ready(Some(Err(ServiceError::H3(e)))), + Poll::Ready(Err(e)) => Poll::Ready(Some(Err(ServiceError::H3Stream(e)))), Poll::Pending => Poll::Pending, } } |