Skip to content

Commit

Permalink
Deprecate h2c under router
Browse files Browse the repository at this point in the history
  • Loading branch information
alombarte committed Oct 25, 2023
1 parent 3ca96e0 commit 878d22c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions v2.5/krakend.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,12 @@
"description": "The optional configuration that extends the core functionality of the gateway is specified here. The `extra_config` at this level enables service components, meaning that they apply globally to all endpoints or activity.",
"type": "object",
"$ref": "service_extra_config.json"
},
"use_h2c": {
"title": "Enable h2c",
"description": "Enable the support for HTTP/2 with no TLS (clear text). This option is less secure and less performant, use with caution.\n\nSee: https://www.krakend.io/docs/service-settings/router-options/",
"type": "boolean",
"default": false
}
}
}
3 changes: 2 additions & 1 deletion v2.5/router.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@
"default": false
},
"use_h2c": {
"deprecated": true,
"title": "Enable h2c",
"description": "Enable the support for HTTP/2 with no TLS (clear text). This option is less secure and less performant, use with caution.\n\nSee: https://www.krakend.io/docs/service-settings/router-options/",
"description": "This flag has [moved to the root level](/docs/service-settings/http-server-settings/), and will be deleted from router in future versions.\n\nSee: https://www.krakend.io/docs/service-settings/",
"type": "boolean",
"default": false
}
Expand Down

0 comments on commit 878d22c

Please sign in to comment.