diff --git a/src/proto/h2/server.rs b/src/proto/h2/server.rs
index eea52e3e4b..d34802b727 100644
--- a/src/proto/h2/server.rs
+++ b/src/proto/h2/server.rs
@@ -162,6 +162,7 @@ where
S: HttpService
,
S::Error: Into>,
B: HttpBody + 'static,
+ B::Data: Send,
E: ConnStreamExec,
{
type Output = crate::Result;
@@ -206,6 +207,7 @@ impl Serving
where
T: AsyncRead + AsyncWrite + Unpin,
B: HttpBody + 'static,
+ B::Data: Send,
{
fn poll_server(
&mut self,
@@ -364,6 +366,7 @@ impl H2Stream
where
F: Future