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

config: default to http2 #3660

Merged
merged 2 commits into from
Oct 12, 2022
Merged

config: default to http2 #3660

merged 2 commits into from
Oct 12, 2022

Conversation

calebdoxsey
Copy link
Contributor

@calebdoxsey calebdoxsey commented Oct 12, 2022

Summary

Previously we defaulted to http1 when in all-in-one mode. This PR updates the code so that we default to http2 instead.

The original behavior was because we did not add routes to all virtual hosts resulting in 421s when requests were coalesced on the same HTTP/2 connection. We now can handle these routes, so there's no need to return the 421s anymore.

Related issues

Fixes https://github.com/pomerium/internal/issues/1010

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey requested a review from a team as a code owner October 12, 2022 19:36
@calebdoxsey calebdoxsey added the enhancement New feature or request label Oct 12, 2022
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 66.591% when pulling 8e247bd on cdoxsey/default-http2 into 245d1b0 on main.

@calebdoxsey calebdoxsey merged commit 71b1bcf into main Oct 12, 2022
@calebdoxsey calebdoxsey deleted the cdoxsey/default-http2 branch October 12, 2022 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants