set to true to add the X-YaTaxi-Server-Hostname header with instance name, set to false to not add the header
false
Server is configured by 'listener' and 'listener-monitor' entries. 'listener' is a required entry that describes the request processing socket. 'listener-monitor' is an optional entry that describes the special monitoring socket, used for getting statistics and processing utility requests that should succeed even is the main socket is under heavy pressure.
Each of the 'listener' and 'listener-monitor' may be configured with the following options:
Name
Description
Default value
port
port to listen on
0
unix-socket
unix socket to listen on instead of listening on a port
''
max_connections
max connections count to keep
32768
task_processor
task processor to process incoming requests
-
backlog
max count of new connections pending acceptance
1024
handler-defaults.max_url_size
max path/URL size or empty to not limit
8192
handler-defaults.max_request_size
max size of the whole request
1024 * 1024
handler-defaults.max_headers_size
max request headers size
65536
handler-defaults.parse_args_from_body
optional field to parse request according to x-www-form-urlencoded rules and make parameters accessible as query parameters
false
handler-defaults.set_tracing_headers
whether to set http tracing headers (X-YaTraceId, X-YaSpanId, X-RequestId)
true
handler-defaults.deadline_propagation_enabled
when false, disables HTTP handler deadline propagation
true
handler-defaults.deadline_expired_status_code
the HTTP status code to return if the request deadline expires
498
connection.in_buffer_size
size of the buffer to preallocate for request receive: bigger values use more RAM and less CPU
32 * 1024
connection.requests_queue_size_threshold
drop requests from handlers that allow throttling if there's more pending requests than allowed by this value
100
connection.keepalive_timeout
timeout in seconds to drop connection if there's not data received from it
600
shards
how many concurrent tasks harvest data from a single socket; do not set if not sure what it is doing