envoyproxy/envoy

Graceful shutdown with HTTP2 CONNECT

Open

#34,897 opened on Jun 25, 2024

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

Repository metrics

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

Description

Title: Graceful shutdown with HTTP2 CONNECT

Description: We use Envoy to tunnel HTTP traffic over HTTP2 CONNECT.

When the server is shutting down, it will send us a GOAWAY. However, Envoy will still treat the connection as live.

What we want is for the inner-HTTP to stop using the HTTP2 CONNECT transport when it gets a GOAWAY, and only send new inner-http requests on a new CONNECT tunnel.

Contributor guide