Skip to content

Commit

Permalink
Remove envoy.reloadable_features.grpc_http1_reverse_bridge_change_htt…
Browse files Browse the repository at this point in the history
…p_status

This commit removes the runtime flag introduced in envoyproxy#31047 since it has
been 6 months since that change.

Signed-off-by: Henry Qin <[email protected]>
Signed-off-by: asingh-g <[email protected]>
  • Loading branch information
hq6 authored and asingh-g committed Aug 20, 2024
1 parent 8280b53 commit 433e790
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ removed_config_or_runtime:
change: |
Removed ``envoy.reloadable_features.grpc_http1_reverse_bridge_handle_empty_response`` runtime
flag and legacy code paths.
- area: grpc reverse bridge
change: |
Removed ``envoy.reloadable_features.grpc_http1_reverse_bridge_change_http_status`` runtime flag
and legacy code paths.
new_features:
- area: tls
Expand Down
1 change: 0 additions & 1 deletion source/common/runtime/runtime_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ RUNTIME_GUARD(envoy_reloadable_features_enable_compression_bomb_protection);
RUNTIME_GUARD(envoy_reloadable_features_enable_include_histograms);
RUNTIME_GUARD(envoy_reloadable_features_exclude_host_in_eds_status_draining);
RUNTIME_GUARD(envoy_reloadable_features_gcp_authn_use_fixed_url);
RUNTIME_GUARD(envoy_reloadable_features_grpc_http1_reverse_bridge_change_http_status);
RUNTIME_GUARD(envoy_reloadable_features_grpc_side_stream_flow_control);
RUNTIME_GUARD(envoy_reloadable_features_http1_balsa_delay_reset);
RUNTIME_GUARD(envoy_reloadable_features_http1_balsa_disallow_lone_cr_in_chunk_extension);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "source/common/grpc/status.h"
#include "source/common/http/headers.h"
#include "source/common/http/utility.h"
#include "source/common/runtime/runtime_features.h"

namespace Envoy {
namespace Extensions {
Expand Down Expand Up @@ -182,10 +181,7 @@ Http::FilterHeadersStatus Filter::encodeHeaders(Http::ResponseHeaderMap& headers
grpc_status_ = grpcStatusFromHeaders(headers);

// gRPC clients expect that the HTTP status will always be 200.
if (Runtime::runtimeFeatureEnabled(
"envoy.reloadable_features.grpc_http1_reverse_bridge_change_http_status")) {
headers.setStatus(enumToInt(Http::Code::OK));
}
headers.setStatus(enumToInt(Http::Code::OK));

// This is a header-only response, and we should prepend the gRPC frame
// header directly.
Expand Down

0 comments on commit 433e790

Please sign in to comment.