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

Feat: toggle HTTP/2 functionality #205

Merged
merged 3 commits into from
Jul 19, 2021

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented May 21, 2021

We've added a bosh property to the routing-release called router.enable_http2 that configures HTTP/2 support for Gorouter as part of #200. router.enable_http2 defaults to false.

Should be merged after cloudfoundry/gorouter#278.

Instructions to try it out

  • Deploy routing release with router.enable_http2 not set, curl Gorouter with HTTP/2, see your request fail with a protocol error.

  • Deploy routing release with router.enable_http2 set to true, curl Gorouter with HTTP/2, see your request succeed.

  • Deploy routing release with router.enable_http2 set to false, curl Gorouter with HTTP/2, see your request fail with a protocol error.

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run all the unit tests using scripts/run-unit-tests-in-docker

  • (Optional) I have run Routing Acceptance Tests and Routing Smoke Tests on bosh lite

  • (Optional) I have run CF Acceptance Tests on bosh lite

TODO:

  • Make sure Gorouter submodule is pointing to the right commit

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

jobs/gorouter/spec Outdated Show resolved Hide resolved
@Gerg Gerg marked this pull request as ready for review June 8, 2021 22:28
ctlong and others added 3 commits July 6, 2021 17:54
* `enable_http2`, defaults to false
* Set to true to enable communicating with apps via HTTP/2

[cloudfoundry#200]

Co-authored-by: Merric de Launey <mdelauney@vmware.com>
Co-authored-by: Carson Long <lcarson@vmware.com>
Co-authored-by: Weyman Fung <weymanf@vmware.com>
Co-authored-by: Matthew Kocher <mkocher@vmware.com>
@ameowlia ameowlia merged commit 767f88f into cloudfoundry:develop Jul 19, 2021
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.

None yet

4 participants