envoyproxy/envoy

Returning the correct code when per_try_timeout budget is exhausted

Open

#10,574 opened on Mar 30, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/grpcenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Title: Returning the correct code when per_try_timeout budget is exhausted

Description: If a per_try_timeout budget is exhausted, the returned code is 503. This is arguably correct for HTTP1 but for gRPC communication a deadline-exceeded (setting grpc-status to 4) would be more accurate.

Contributor guide