Skip to content

http: error handling for bad factory type#14769

Merged
alyssawilk merged 1 commit intoenvoyproxy:mainfrom
alyssawilk:factory
Jan 25, 2021
Merged

http: error handling for bad factory type#14769
alyssawilk merged 1 commit intoenvoyproxy:mainfrom
alyssawilk:factory

Conversation

@alyssawilk
Copy link
Contributor

Probably we should eventually split upstream config into explicit tcp_upstream_config and http_upstream_config so we can validate on ingress. This is at least a step in the right direction.

Commit Message: avoiding a crash on bad http upstream config, mirroring what we do for the tcp path.
Risk Level: Low
Testing: new unit test
Docs Changes: n/a
Release Notes: n/a

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

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Thanks, this seems reasonable to me as a short term solution until we can make the API changes

@alyssawilk alyssawilk merged commit acb9226 into envoyproxy:main Jan 25, 2021
aunu53 pushed a commit to aunu53/envoy that referenced this pull request Jan 25, 2021
Probably we should eventually split upstream config into explicit tcp_upstream_config and http_upstream_config so we can validate on ingress. This is at least a step in the right direction.

Commit Message: avoiding a crash on bad http upstream config, mirroring what we do for the tcp path.
Risk Level: Low
Testing: new unit test
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Auni Ahsan <auni@google.com>
@alyssawilk alyssawilk deleted the factory branch July 15, 2021 19:32
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