envoyproxy / envoyproxy/envoy

http: propagate correct reset codes

Open
#13,349 6 comments 0 reactions 0 assignees View on GitHub
area/http help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

Description

Hi, we have the following situation:
Envoy has received an HTTP request from the client and forwarded that request to the upstream server.
While waiting for the HTTP respone from the server, Envoy receives from the client a RST_STREAM packet with error code "CANCEL".
This triggers Envoy to send a RST_STREAM packet with a different error code "NO_ERROR" upstream to the server.
My question:
Why does Envoy not send the same error code to the upstream server that it had received from the client?
And would it be possible to configure Envoy to send the same error code as received from the client?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.