Configuration options

Table 1. Optional configuration options
key type default value description

default-keep-alive

boolean

true

Whether to use keep alive by default.

max-header-size

int

16384

Configure the maximum allowed header size of the response.

max-status-line-length

int

256

Configure the maximum allowed length of the status line from the response.

name

string

http_1_1

validate-request-headers

boolean

false

Sets whether the request header format is validated or not.

Defaults to `false` as user has control on the header creation.

validate-response-headers

boolean

true

Sets whether the response header format is validated or not.

Defaults to `true`.