thrift: add support for case-sensitive header keys#20893
thrift: add support for case-sensitive header keys#20893mattklein123 merged 35 commits intoenvoyproxy:mainfrom
Conversation
Based off envoyproxy#20596, this preserves the current behavior by default. Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com> Co-authored-by: fishy
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
cc: @fishcakez @JuniorHsu |
|
cc: @davinci26 @fishy |
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
|
Altough, by this way we can insert some case insensitive header key to the The headers will be used in the header matching or getting cluster with cluster_header or some other scenes. I think the key point is that we shouldn't use the (Dubbo has the similar problem.) |
|
/assign |
|
/wait-any |
I think we can document all of these limitations and still move forward with this. Speaking of HTTP, we do support case preservation there (see #15619). cc: @fishy |
Yeah, but the seaching of header key will no be influenced by this preservation (#15619). And the approach in this PR does. IMO, I think it would be better to replace |
Replacing So it sounds like the proper way of doing this would be the approach in #15619 (at the cost of using more memory). |
|
Yeah, the approach in the #15619 is best way for now. (FWIW, may be we can try to make the http header match utility a template, then it can be easily reused by other type headers (e.g. |
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
cc @htuch could your give another lgtm for the API? Thanks. |
|
/lgtm api |
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
@zuercher this is ready for another pass (the macos failure was something else, possibly transient). |
Based off envoyproxy#20596, this preserves the current behavior by default. Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com> Co-authored-by: fishy
Based off #20596, this preserves the current behavior by default.
Signed-off-by: Raul Gutierrez Segales rgs@pinterest.com
Co-authored-by: fishy