Package io.quarkus.vertx.http.runtime
Class ServerLimitsConfig
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.ServerLimitsConfig
-
public class ServerLimitsConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description OptionalLongheaderTableSizeSet the SETTINGS_HEADER_TABLE_SIZE HTTP/2 setting.Optional<MemorySize>maxBodySizeThe maximum size of a request body.MemorySizemaxChunkSizeThe max HTTP chunk sizeOptionalLongmaxConcurrentStreamsSet SETTINGS_MAX_CONCURRENT_STREAMS HTTP/2 setting.OptionalIntmaxConnectionsThe maximum number of connections that are allowed at any one time.MemorySizemaxFormAttributeSizeThe maximum length of a form attribute.OptionalIntmaxFrameSizeSet the SETTINGS_MAX_FRAME_SIZE HTTP/2 setting.OptionalLongmaxHeaderListSizeSet the SETTINGS_MAX_HEADER_LIST_SIZE HTTP/2 setting.MemorySizemaxHeaderSizeThe maximum length of all headers.intmaxInitialLineLengthThe maximum length of the initial line (e.g.
-
Constructor Summary
Constructors Constructor Description ServerLimitsConfig()
-
-
-
Field Detail
-
maxHeaderSize
@ConfigItem(defaultValue="20K") public MemorySize maxHeaderSize
The maximum length of all headers.
-
maxBodySize
@ConfigItem(defaultValue="10240K") public Optional<MemorySize> maxBodySize
The maximum size of a request body.
-
maxChunkSize
@ConfigItem(defaultValue="8192") public MemorySize maxChunkSize
The max HTTP chunk size
-
maxInitialLineLength
@ConfigItem(defaultValue="4096") public int maxInitialLineLength
The maximum length of the initial line (e.g."GET / HTTP/1.0").
-
maxFormAttributeSize
@ConfigItem(defaultValue="2048") public MemorySize maxFormAttributeSize
The maximum length of a form attribute.
-
maxConnections
@ConfigItem public OptionalInt maxConnections
The maximum number of connections that are allowed at any one time. If this is set it is recommended to set a short idle timeout.
-
headerTableSize
@ConfigItem public OptionalLong headerTableSize
Set the SETTINGS_HEADER_TABLE_SIZE HTTP/2 setting.Allows the sender to inform the remote endpoint of the maximum size of the header compression table used to decode header blocks, in octets. The encoder can select any size equal to or less than this value by using signaling specific to the header compression format inside a header block. The initial value is
4,096octets.
-
maxConcurrentStreams
@ConfigItem public OptionalLong maxConcurrentStreams
Set SETTINGS_MAX_CONCURRENT_STREAMS HTTP/2 setting.Indicates the maximum number of concurrent streams that the sender will allow. This limit is directional: it applies to the number of streams that the sender permits the receiver to create. Initially, there is no limit to this value. It is recommended that this value be no smaller than 100, to not unnecessarily limit parallelism.
-
maxFrameSize
@ConfigItem public OptionalInt maxFrameSize
Set the SETTINGS_MAX_FRAME_SIZE HTTP/2 setting. Indicates the size of the largest frame payload that the sender is willing to receive, in octets. The initial value is2^14(16,384) octets.
-
maxHeaderListSize
@ConfigItem public OptionalLong maxHeaderListSize
Set the SETTINGS_MAX_HEADER_LIST_SIZE HTTP/2 setting. This advisory setting informs a peer of the maximum size of header list that the sender is prepared to accept, in octets. The value is based on the uncompressed size of header fields, including the length of the name and value in octets plus an overhead of 32 octets for each header field. The default value is8192
-
-