Configuring Http2 Protocol Options
SCP allows the user to set HTTP2 options parameter system-wide. The user can configure Http2 protocol options by using the operations GET, and PUT.
Table 3-8 provides Http2 Protocol Options for scp-gateway.
Table 3-8 Configuring Http2 Protocol Options
Operation | Parameter | Type | Description with Default Values | REST Command |
---|---|---|---|---|
GET | - | - | - |
curl --header 'Content-type: application/json' --header 'accept: application/json' --request GET http://<Soothsayerfqdn>:8081/soothsayer/v1/gatewaydetails/scp-gateway { "servers": [ { "port": { "number": 80, "name": "http", "protocol": "HTTP" }, "hosts": [ "*" ], "ocscpw_http2protocoloptions": { "ocscpw_max_concurrent_streams": 1000, "ocscpw_initial_window_size": 65535 }, "ocscpw_httpprotocoloptions": { "ocscpw_allow_absolute_url": true } } ] } |
PUT | ocspfw_max_concurrent_streams | Integer | Http2 Protocol Options of maximum concurrent streams for
spf-gateway
Default Value: 1000 |
Set the value of field ocspfw_max_concurrent_streams in the
below Curl Command
ocspfw_max_concurrent_streams
UPDATE Command
curl --header "Content-Type: application/json" --request PUT --data '{ "servers": [ { "port": { "number": 80, "name": "http", "protocol": "HTTP" }, "hosts": [ "*" ], "ocspfw_http2protocoloptions": { "ocspfw_max_concurrent_streams": 1000, "ocspfw_initial_window_size": 65535 } } ] }' http://<Soothsayerfqdn>:8081/soothsayer/v1/nrfdetails/soothsayer/v1/gatewaydetails/scp-gateway |
ocspfw_initial_window_size | Integer | Http2 Protocol Options of initial window size for spf-gateway
Default Value: 65535 |
Set the value of field ocspfw_initial_window_size in the below
Curl Command
ocspfw_initial_window_size
UPDATE Command
curl --header "Content-Type: application/json" --request PUT --data '{ "servers": [ { "port": { "number": 80, "name": "http", "protocol": "HTTP" }, "hosts": [ "*" ], "ocspfw_http2protocoloptions": { "ocspfw_max_concurrent_streams": 1000, "ocspfw_initial_window_size": 65535 } } ] }' http://<Soothsayerfqdn>:8081/soothsayer/v1/nrfdetails/soothsayer/v1/gatewaydetails/scp-gateway |