envoyproxy / envoy

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

Reason for not having a DownstreamHttp11ConnectSocket #37242

Open FH-30 opened 6 days ago

FH-30 commented 6 days ago

Title: Reason for not having a DownstreamHttp11ConnectSocket

Description:

Is the reason why there is an UpstreamHttp11ConnectSocket but no DownstreamHttp11ConnectSocket because there are no other filters aside from the http filter which requires the information parsed out of the HTTP CONNECT method? If I were to implement a DownstreamHttp11ConnectSocket that would parse out such information and set them under a struct in the Connection object, would this feature be useful for Envoy?

soulxu commented 5 days ago

cc @alyssawilk

alyssawilk commented 5 days ago

The reason the one exists and not the other is that someone wrote it and there was a maintainer sponsor. All Envoy features are driven by user demand and the existing documented-somewhere extension policy :-)