Mention where we actually may have a QUIC/HTTP/3 packet

We may want to support QUIC the same way we forward TLS
pull/190/head
Frank Denis 1 year ago
parent 5c1dcebe10
commit 606276398c

@ -212,7 +212,7 @@ async fn handle_client_query(
) )
.await; .await;
} }
bail!("Unencrypted query"); bail!("Unencrypted query or QUIC protocol");
} }
}; };
ensure!(packet.len() >= DNS_HEADER_SIZE, "Short packet"); ensure!(packet.len() >= DNS_HEADER_SIZE, "Short packet");

Loading…
Cancel
Save