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 the connection header, or KEEPALIVE_ALWAYS, which always keeps the connection alive, or KEEPALIVE_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 Long response.

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

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