fix(rustproxy-http): reuse the shared HTTP proxy service for HTTP/3 request handling

This commit is contained in:
2026-03-20 08:57:18 +00:00
parent ea8224c400
commit fb1c59ac9a
8 changed files with 101 additions and 276 deletions

View File

@@ -15,7 +15,7 @@ fn make_h3_route(
key_pem: &str,
) -> rustproxy_config::RouteConfig {
let mut route = make_tls_terminate_route(port, "localhost", target_host, target_port, cert_pem, key_pem);
route.route_match.transport = Some(TransportProtocol::Udp);
route.route_match.transport = Some(TransportProtocol::All);
// Keep domain="localhost" from make_tls_terminate_route — needed for TLS cert extraction
route.action.udp = Some(RouteUdp {
session_timeout: None,