Skip to content

Commit

Permalink
propercasing take two (#1608)
Browse files Browse the repository at this point in the history
Propercasing both request and response path for the ALPN pool

Risk Level: low (alpn-pool only)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Fixes #1558

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
alyssawilk authored and jpsim committed Nov 29, 2022
1 parent 96c1f54 commit 8893a8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions mobile/envoy_build_config/extension_registry.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "source/extensions/filters/http/dynamic_forward_proxy/config.h"
#include "source/extensions/filters/http/router/config.h"
#include "source/extensions/filters/network/http_connection_manager/config.h"
#include "source/extensions/http/header_formatters/preserve_case/preserve_case_formatter.h"
#include "source/extensions/http/original_ip_detection/xff/config.h"
#include "source/extensions/stat_sinks/metrics_service/config.h"
#include "source/extensions/transport_sockets/raw_buffer/config.h"
Expand Down
7 changes: 6 additions & 1 deletion mobile/library/common/config/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ const std::string config_header = R"(
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
auto_config:
http2_protocol_options: {}
http_protocol_options: {}
http_protocol_options:
header_key_format:
stateful_formatter:
name: preserve_case
typed_config:
"@type": type.googleapis.com/envoy.extensions.http.header_formatters.preserve_case.v3.PreserveCaseFormatterConfig
!ignore tls_socket_defs: &base_tls_socket
name: envoy.transport_sockets.tls
Expand Down

0 comments on commit 8893a8a

Please sign in to comment.