Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/root/intro/version_history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Version history
* config: use Envoy cpuset size to set the default number or worker threads if :option:`--cpuset-threads` is enabled.
* config: added support for :ref:`initial_fetch_timeout <envoy_api_field_core.ConfigSource.initial_fetch_timeout>`. The timeout is disabled by default.
* cors: added :ref:`filter_enabled & shadow_enabled RuntimeFractionalPercent flags <cors-runtime>` to filter.
* ext_authz: removed unnecessary assert that crashes Envoy when GrpcStatus::Unknown is received from a gRPC authorization server.
Comment thread
gsagula marked this conversation as resolved.
Outdated
* ext_authz: added support for buffering request body.
* ext_authz: migrated from v2alpha to v2 and improved docs.
* ext_authz: added a configurable option to make the gRPC service cross-compatible with V2Alpha. Note that this feature is already deprecated. It should be used for a short time, and only when transitioning from alpha to V2 release version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ void GrpcClientImpl::check(RequestCallbacks& callbacks,

void GrpcClientImpl::onSuccess(std::unique_ptr<envoy::service::auth::v2::CheckResponse>&& response,
Tracing::Span& span) {
ASSERT(response->status().code() != Grpc::Status::GrpcStatus::Unknown);
Comment thread
gsagula marked this conversation as resolved.
ResponsePtr authz_response = std::make_unique<Response>(Response{});

if (response->status().code() == Grpc::Status::GrpcStatus::Ok) {
span.setTag(Constants::get().TraceStatus, Constants::get().TraceOk);
authz_response->status = CheckStatus::OK;
Expand Down