Skip to content

http: fixing 100-continue behavior#2560

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
alyssawilk:100-fix
Feb 8, 2018
Merged

http: fixing 100-continue behavior#2560
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
alyssawilk:100-fix

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

Restoring the previous behavior where Envoy strips the Expect header when seeing expect: 100-continue

Risk Level: Low
Testing: integration test
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Copy link
Copy Markdown
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.

Thanks for the quick turnaround. Will go ahead and merge this but small comment nit if you feel like a follow up next week.

// and sends the 100-Continue directly to the encoder.
chargeStats(continueHeader());
response_encoder_->encode100ContinueHeaders(continueHeader());
// Remove the Expect header so it won't be handled again downstream.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: s/downstream/upstream?

@mattklein123 mattklein123 merged commit 3f9853b into envoyproxy:master Feb 8, 2018
mattklein123 added a commit that referenced this pull request Feb 9, 2018
This reverts commit 3f9853b.

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123 mattklein123 mentioned this pull request Feb 9, 2018
alyssawilk added a commit to alyssawilk/envoy that referenced this pull request Feb 9, 2018
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk alyssawilk deleted the 100-fix branch October 10, 2018 19:55
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.

2 participants