Record
-
http
:
ListenerHttp1Settings
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive (default KEEPALIVE_AUTO)
-
Can be set to either
KEEPALIVE_AUTO, which respects theconnectionheader, orKEEPALIVE_ALWAYS, which always keeps the connection alive, orKEEPALIVE_NEVER, which always closes the connection
- maxPipelinedRequests int (default MAX_PIPELINED_REQUESTS)
-
Defines the maximum number of requests that can be processed at a given time on a single connection. By default 10 requests can be pipelined on a single cinnection and user can change this limit appropriately.
- maxUriLength int (default 4096)
-
Maximum allowed length for a URI. Exceeding this limit will result in a
414 - URI Too Longresponse.
- maxHeaderSize int (default 8192)
-
Maximum allowed size for headers. Exceeding this limit will result in a
413 - Payload Too Largeresponse.
- maxEntityBodySize int (default -1)
-
Maximum allowed size for the entity body. By default it is set to -1 which means there is no restriction
maxEntityBodySize, On the Exceeding this limit will result in a413 - Payload Too Largeresponse.