envoyproxy / envoy

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

Grant LB policies write access to connection stream info #37298

Open yanavlasov opened 16 hours ago

yanavlasov commented 16 hours ago

Additional Description: We have uses cases where LB policies need to be able to write to request metadata when choosing or picking hosts. The metadata can be used in logging or by HTTP filters.

This PR makes access to the request stream info non const.

Risk Level: Low Testing: Unit tests Docs Changes: N/A Release Notes: N/A Platform Specific Features: N/A

soulxu commented 13 hours ago

/assign @wbpcode