Skip to content

Commit 35af861

Browse files
ctlongMerricdeLauney
authored andcommitted
WIP: Feature flag HTTP/2 work
* `enable_http2`, defaults to false * Set to true to enable communicating with apps via HTTP/2 [cloudfoundry#200] Co-authored-by: Merric de Launey <[email protected]> Co-authored-by: Carson Long <[email protected]>
1 parent 6f30279 commit 35af861

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

jobs/gorouter/spec

+3
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ properties:
102102
router.disable_http:
103103
description: Disables the http listener on port specified by router.port. This cannot be set to true if enable_ssl is false.
104104
default: false
105+
router.enable_http2:
106+
description: Enables the HTTP/2 protocol for communicating with apps.
107+
default: false
105108
router.min_tls_version:
106109
description: Minimum accepted version of TLS protocol. All versions above this, up to the max_tls_version, will also be accepted. Valid values are TLSv1.0, TLSv1.1, and TLSv1.2.
107110
default: TLSv1.2

jobs/gorouter/templates/gorouter.yml.erb

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ ssl_port: <%= p("router.tls_port") %>
255255
<% end %>
256256

257257
disable_http: <%= p("router.disable_http") %>
258+
enable_http2: <%= p("router.enable_http2") %>
258259

259260
<% if p("router.ca_certs")
260261
ca_certs = p("router.ca_certs")

0 commit comments

Comments
 (0)