mirror of
https://github.com/tokio-rs/axum.git
synced 2025-03-13 19:27:53 +01:00
Ignore error in TLS example
This commit is contained in:
parent
dd0c345040
commit
f083c3e97e
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ async fn main() {
|
|||
|
||||
tokio::spawn(async move {
|
||||
if let Ok(stream) = acceptor.accept(stream).await {
|
||||
Http::new().serve_connection(stream, app).await.unwrap();
|
||||
let _ = Http::new().serve_connection(stream, app).await;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue