Skip to content

Commit f904689

Browse files
committed
Fix the build for embedded-svc
1 parent 6567692 commit f904689

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

edge-http/src/io/server.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ mod embedded_svc_compat {
747747

748748
async fn handle(
749749
&self,
750-
_task_id: impl core::fmt::Display + Copy,
750+
task_id: impl core::fmt::Display + Copy,
751751
connection: &mut super::Connection<'b, T, N>,
752752
) -> Result<(), Self::Error> {
753753
let headers = connection.headers().ok();
@@ -758,7 +758,10 @@ mod embedded_svc_compat {
758758
}
759759
}
760760

761-
self.next.handle(connection).await.map_err(Into::into)
761+
self.next
762+
.handle(task_id, connection)
763+
.await
764+
.map_err(Into::into)
762765
}
763766
}
764767
}

0 commit comments

Comments
 (0)