Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hq6 committed Jul 23, 2024
1 parent e63b035 commit bedd1aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ removed_config_or_runtime:
- area: grpc reverse bridge
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: hot_restart
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 @@ -49,7 +49,6 @@ RUNTIME_GUARD(envoy_reloadable_features_enable_intermediate_ca);
RUNTIME_GUARD(envoy_reloadable_features_enable_zone_routing_different_zone_counts);
RUNTIME_GUARD(envoy_reloadable_features_exclude_host_in_eds_status_draining);
RUNTIME_GUARD(envoy_reloadable_features_ext_authz_http_send_original_xff);
RUNTIME_GUARD(envoy_reloadable_features_grpc_http1_reverse_bridge_change_http_status);
RUNTIME_GUARD(envoy_reloadable_features_hmac_base64_encoding_only);
RUNTIME_GUARD(envoy_reloadable_features_http1_balsa_delay_reset);
RUNTIME_GUARD(envoy_reloadable_features_http1_connection_close_header_in_redirect);
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 bedd1aa

Please sign in to comment.