Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: eagerly sending 200 headers for CONNECT termination #11197

Merged
merged 2 commits into from
May 14, 2020

Conversation

alyssawilk
Copy link
Contributor

Changing CONNECT termination to eagerly send synthesized 200 headers as soon
as a TCP connection to the upstream is established.

Risk Level: Low (only affects connect)
Testing: tweaked unit tests, integration tests.
Docs Changes: no
Release Notes: no
[Optional Runtime guard:] not guarded: CONNECT support in Alpha
Part of #1451

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@lambdai
Copy link
Contributor

lambdai commented May 14, 2020

LGTM: It make more sense for the client first protocol. Even better we can remove send_headers_

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@mattklein123 mattklein123 merged commit c98ea6f into envoyproxy:master May 14, 2020
@alyssawilk alyssawilk deleted the early_200 branch August 27, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants