Config key
http_2

This type provides the following service implementations:

  • io.helidon.webserver.spi.ProtocolConfigProvider

Configuration options

Table 1. Optional configuration options
key type default value description

flow-control-timeout

Duration

PT15S

Outbound flow control blocking timeout configured as java.time.Duration or text in ISO-8601 format. Blocking timeout defines an interval to wait for the outbound window size changes(incoming window updates). Default value is PT15S.

*ISO_8601 format examples:*
PT0.1S100 milliseconds
PT0.5S500 milliseconds
PT2S2 seconds

initial-window-size

int

1048576

This setting indicates the sender’s maximum window size in bytes for stream-level flow control. Default and maximum value is 231-1 = 2147483647 bytes. This setting affects the window size of HTTP/2 connection. Any value greater than 2147483647 causes an error. Any value smaller than initial window size causes an error. See RFC 9113 section 6.9.1 for details.

max-concurrent-streams

long

8192

Maximum number of concurrent streams that the server will allow. Defaults to 8192. This limit is directional: it applies to the number of streams that the sender permits the receiver to create. It is recommended that this value be no smaller than 100 to not unnecessarily limit parallelism See RFC 9113 section 6.5.2 for details.

max-empty-frames

int

10

Maximum number of consecutive empty frames allowed on connection.

max-frame-size

int

16384

The size of the largest frame payload that the sender is willing to receive in bytes. Default value is 16384 and maximum value is 224-1 = 16777215 bytes. See RFC 9113 section 6.5.2 for details.

max-header-list-size

long

8192

The maximum field section size that the sender is prepared to accept in bytes. See RFC 9113 section 6.5.2 for details. Default is 8192.

max-rapid-resets

int

50

Maximum number of rapid resets(stream RST sent by client before any data have been sent by server). When reached within rapidResetCheckPeriod(), GOAWAY is sent to client and connection is closed. Default value is 50.

rapid-reset-check-period

Duration

PT10S

Period for counting rapid resets(stream RST sent by client before any data have been sent by server). Default value is PT10S.

requested-uri-discovery

 

Requested URI discovery settings.

send-error-details

boolean

false

Whether to send error message over HTTP to client. Defaults to false, as exception message may contain internal information that could be used as an attack vector. Use with care and in cases where both server and clients are under your full control (such as for testing).

validate-path

boolean

true

If set to false, any path is accepted (even containing illegal characters).