fix(rustproxy-http): disable HTTP/3 GREASE for client and server connections

This commit is contained in:
2026-03-20 07:48:26 +00:00
parent bfcf92a855
commit 7217e15649
4 changed files with 15 additions and 3 deletions

View File

@@ -75,7 +75,9 @@ impl H3ProxyService {
debug!("HTTP/3 connection from {} on port {}", remote_addr, port);
let mut h3_conn: h3::server::Connection<h3_quinn::Connection, Bytes> =
h3::server::Connection::new(h3_quinn::Connection::new(connection))
h3::server::builder()
.send_grease(false)
.build(h3_quinn::Connection::new(connection))
.await
.map_err(|e| anyhow::anyhow!("H3 connection setup failed: {}", e))?;