envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.28k stars 4.69k forks source link

CONNECT-UDP in forwarding proxy mode resets stream and fails to send HTTP Datagrams #34836

Open jeongseokson opened 2 weeks ago

jeongseokson commented 2 weeks ago

Title: CONNECT-UDP in forwarding proxy mode resets stream and fails to send HTTP Datagrams

Description: When Envoy is configured as a CONNECT-UDP forwarding proxy, where it forwards the requests to upstream and HTTP Datagrams without terminating HTTP, it fails to forward the HTTP Datagrams and resets the stream.

Repro steps: Use the example config in configs/proxy_connect_udp_http3_downstream.yaml to run a CONNECT-UDP forwarding proxy, and send CONNECT-UDP request and subsequent HTTP Datagrams to it.

Admin and Stats Output: See #33775

Config: configs/proxy_connect_udp_http3_downstream.yaml

Logs: See #33775

Call Stack: See #33775

jeongseokson commented 2 weeks ago

/assign @jeongseokson