Skip to content

Commit

Permalink
Fix the build for embedded-svc
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 11, 2024
1 parent 6567692 commit f904689
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions edge-http/src/io/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ mod embedded_svc_compat {

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

self.next.handle(connection).await.map_err(Into::into)
self.next
.handle(task_id, connection)
.await
.map_err(Into::into)
}
}
}

0 comments on commit f904689

Please sign in to comment.