Host correctly interacts with Web
This commit is contained in:
parent
be4b76dcd5
commit
3fb51b7723
1 changed files with 4 additions and 1 deletions
|
|
@ -67,7 +67,10 @@ pub async fn host(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let connection = match request.accept().await {
|
let connection = match request
|
||||||
|
.accept_with_headers([("sec-webtransport-http3-draft02", "1")])
|
||||||
|
.await
|
||||||
|
{
|
||||||
Ok(conn) => {
|
Ok(conn) => {
|
||||||
log::warn!("[transport bg task] connection accepted");
|
log::warn!("[transport bg task] connection accepted");
|
||||||
conn
|
conn
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue