On this page:
   28.56    HTTP Listener 28.58    HTTP Security   

28.57HTTP Request Pool

 

The HTTP Request Pool configuration category includes the following configurable options:

  • Thread Pool Minimum Size

  • Thread Pool Maximum Size

  • Thread Pool Accept Queue Size

  • Maximum Request Header Size (KB)

  • Maximum Response Header Size (KB)

  • Read Idle Timeout (millis)

28.57.1Property: Thread Pool Minimum Size

 
Property Name Thread Pool Minimum Size
Property Key
Property Type NON_NEGATIVE_INTEGER
Description The minimum number of threads to keep idle in the pool between servicing requests.
Default Value 5
Example Property
module.[MODULE_ID].config.threadpool.min = 5

28.57.2Property: Thread Pool Maximum Size

 
Property Name Thread Pool Maximum Size
Property Key
Property Type POSITIVE_INTEGER
Description The maximum number of threads to create for servicing requests when this module is under full load.
Default Value 10
Example Property
module.[MODULE_ID].config.threadpool.max = 10

28.57.3Property: Thread Pool Accept Queue Size

 
Property Name Thread Pool Accept Queue Size
Property Key
Property Type NON_NEGATIVE_INTEGER
Description If set, provides the number of requests that will be queued waiting for an available thread before giving up and rejecting incoming connections. By default the queue is unbounded.
Default Value (no default)
Example Property
module.[MODULE_ID].config.threadpool.accept_queue_size = 

28.57.4Property: Maximum Request Header Size (KB)

 
Property Name Maximum Request Header Size (KB)
Property Key
Property Type POSITIVE_INTEGER
Description This setting controls the maximum total size for the request headers to parse by the server. Increase this setting if you expect to have large request header groups.
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.request.kb = 8

28.57.5Property: Maximum Response Header Size (KB)

 
Property Name Maximum Response Header Size (KB)
Property Key
Property Type POSITIVE_INTEGER
Description This setting controls the maximum total size for the response headers to be generated by the server. Increase this setting if you expect the server to generate large response headers, e.g. if Performance Tracing or validation will be output to the HTTP headers.
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.response.kb = 8

28.57.6Property: Read Idle Timeout (millis)

 
Property Name Read Idle Timeout (millis)
Property Key
Property Type POSITIVE_INTEGER
Description When reading a request payload arriving from a client, this value specifies how long the server should wait if data stalls before timing out.
Default Value 30000
Example Property
module.[MODULE_ID].config.read_idle_timeout.millis = 30000
   28.56    HTTP Listener 28.58    HTTP Security