Skip to content

engine builder: add option to add a list of H2-Raw domain names#2088

Merged
goaway merged 7 commits intomainfrom
force-h2
Mar 8, 2022
Merged

engine builder: add option to add a list of H2-Raw domain names#2088
goaway merged 7 commits intomainfrom
force-h2

Conversation

@junr03
Copy link
Copy Markdown
Member

@junr03 junr03 commented Mar 7, 2022

Description: Adds public API and support for providing a list of domains to which H2 connections will be established without protocol negotiation (i.e. ALPN). See Envoy docs for the domain name patterns supported:
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-route

Risk Level: Low
Testing: Unit

Co-authored-by: Mike Schore mike.schore@gmail.com
Signed-off-by: Mike Schore mike.schore@gmail.com

Jose Nino and others added 3 commits March 6, 2022 23:27
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: Mike Schore <mike.schore@gmail.com>
@goaway goaway changed the title engine builder: add option to configure force h2 hostnames engine builder: add option to add a list of H2-Raw hosts Mar 7, 2022
@goaway goaway changed the title engine builder: add option to add a list of H2-Raw hosts engine builder: add option to add a list of H2-Raw domain names Mar 7, 2022
goaway added 2 commits March 8, 2022 07:06
Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: Mike Schore <mike.schore@gmail.com>
@goaway goaway marked this pull request as ready for review March 7, 2022 23:51
goaway added 2 commits March 8, 2022 07:55
Signed-off-by: Mike Schore <mike.schore@gmail.com>
Signed-off-by: Mike Schore <mike.schore@gmail.com>
Comment on lines +234 to +239
retry_policy:
per_try_idle_timeout: *per_try_idle_timeout
retry_back_off:
base_interval: 0.25s
max_interval: 60s
- name: primary
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.

I would share this retry policy if possible

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good callout - the next PR (based on this) moves more routing decisions into actual config, so I'll include it there.

@goaway
Copy link
Copy Markdown
Contributor

goaway commented Mar 8, 2022

Thanks @Augustyniak and @mattklein123!

@goaway goaway merged commit 21b65f1 into main Mar 8, 2022
@goaway goaway deleted the force-h2 branch March 8, 2022 20:40
@jpsim
Copy link
Copy Markdown
Contributor

jpsim commented Mar 10, 2022

This PR broke the async_await iOS example app

Before After
Simulator Screen Shot - TestDevice - 2022-03-10 at 11 09 32 Simulator Screen Shot - TestDevice - 2022-03-10 at 11 16 00

I'm investigating now.

It was also failing on CI in this PR, so I'm curious why we merged this despite the failure. Did anyone investigate already?

jpsim added a commit that referenced this pull request Mar 10, 2022
It was never safe to do a case-sensitive lookup, but this broke in
#2088 (comment).

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request Mar 10, 2022
It was never safe to do a case-sensitive lookup, but this broke in
#2088 (comment).

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request Mar 14, 2022
* origin/main:
  [CI] Only install Android tool dependencies when needed (#2095)
  update envoy to latest (#2094)
  [CI] Fix DCO in support rotation bump PRs (#2092)
  Fix iOS async/await example app (#2093)
  Test for Brotli decompressor (#2066)
  docs: fix day (#2089)
  engine builder: add option to add a list of H2-Raw domain names (#2088)
  docs: adding the community meeting (#2083)

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit to envoyproxy/envoy that referenced this pull request Nov 29, 2022
It was never safe to do a case-sensitive lookup, but this broke in
envoyproxy/envoy-mobile#2088 (comment).

Signed-off-by: JP Simard <jp@jpsim.com>
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.

5 participants