Record - http : ListenerHttp1Settings

Provides settings related to HTTP/1.x protocol.

Fields

  • keepAlive KeepAlive KEEPALIVE_AUTO
  • Can be set to either KEEPALIVE_AUTO, which respects the connection header, or KEEPALIVE_ALWAYS, which always keeps the connection alive, or KEEPALIVE_NEVER, which always closes the connection

  • maxPipelinedRequests int 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 4096
  • Maximum allowed length for a URI. Exceeding this limit will result in a 414 - URI Too Long response.

  • maxHeaderSize int 8192
  • Maximum allowed size for headers. Exceeding this limit will result in a 413 - Payload Too Large response.

  • maxEntityBodySize int -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 a 413 - Payload Too Large response.