Skip to main content

origin_h2_max_streams

Creates, updates, deletes, gets or lists an origin_h2_max_streams resource.

Overview

Nameorigin_h2_max_streams
TypeResource
Idcloudflare.zones.origin_h2_max_streams

Fields

The following fields are returned by SELECT queries:

Get Origin H2 Max Streams setting response.

NameDatatypeDescription
idstringValue of the zone setting. (origin_h2_max_streams) (example: origin_h2_max_streams)
modified_onstring (date-time)Last time this setting was modified. (example: 2014-01-01T05:20:00.12345Z)
valueintegerValue of the Origin H2 Max Streams Setting.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idOrigin 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_settingupdatezone_id, valueOrigin 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

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

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;