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 767217b commit 6567692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edge-http/src/io/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ mod embedded_svc_compat {

async fn handle(
&self,
_task_id: impl core::fmt::Display + Copy,
connection: &mut super::Connection<'b, T, N>,
) -> Result<(), Self::Error> {
connection.initiate_response(404, None, &[]).await
Expand All @@ -746,6 +747,7 @@ mod embedded_svc_compat {

async fn handle(
&self,
_task_id: impl core::fmt::Display + Copy,
connection: &mut super::Connection<'b, T, N>,
) -> Result<(), Self::Error> {
let headers = connection.headers().ok();
Expand Down

0 comments on commit 6567692

Please sign in to comment.