origin_h2_max_streams
Creates, updates, deletes, gets or lists an origin_h2_max_streams resource.
Overview
| Name | origin_h2_max_streams |
| Type | Resource |
| Id | cloudflare.zones.origin_h2_max_streams |
Fields
The following fields are returned by SELECT queries:
- list
Get Origin H2 Max Streams setting response.
| Name | Datatype | Description |
|---|---|---|
id | string | Value of the zone setting. (origin_h2_max_streams) (example: origin_h2_max_streams) |
modified_on | string (date-time) | Last time this setting was modified. (example: 2014-01-01T05:20:00.12345Z) |
value | integer | Value of the Origin H2 Max Streams Setting. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is 100 for all plan types except Enterprise where it is 1. 1 means that H2 multiplexing is disabled. | |
zone_cache_settings_change_origin_h2_max_streams_setting | update | zone_id, value | Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is 100 for all plan types except Enterprise where it is 1. 1 means that H2 multiplexing is disabled. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
SELECT examples
- list
Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is 100 for all plan types except Enterprise where it is 1. 1 means that H2 multiplexing is disabled.
SELECT
id,
modified_on,
value
FROM cloudflare.zones.origin_h2_max_streams
WHERE zone_id = '{{ zone_id }}' -- required
;
UPDATE examples
- zone_cache_settings_change_origin_h2_max_streams_setting
Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is 100 for all plan types except Enterprise where it is 1. 1 means that H2 multiplexing is disabled.
UPDATE cloudflare.zones.origin_h2_max_streams
SET
value = {{ value }}
WHERE
zone_id = '{{ zone_id }}' --required
AND value = '{{ value }}' --required
RETURNING
errors,
messages,
result,
success;