summaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.server.def
blob: 0cb5b89b20cae749010a331131c4e09b34df50da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=jdisc.http

# Whether to enable developer mode, where stack traces etc are visible in response bodies.
developerMode                         bool   default=false

# The gzip compression level to use, if compression is enabled in a request.
responseCompressionLevel              int    default=6

# DEPRECATED - Ignored, no longer in use.
httpKeepAliveEnabled                  bool   default=true
# TODO Vespa 8 Remove httpKeepAliveEnabled

# Maximum number of request per http connection before server will hangup.
# Naming taken from apache http server.
# 0 means never hangup.
# DEPRECATED - Ignored, no longer in use. Use similar parameter in connector config instead.
maxKeepAliveRequests                  int    default=0
# TODO Vespa 8 Remove maxKeepAliveRequests

# Whether the request body of POSTed forms should be removed (form parameters are available as request parameters).
removeRawPostBodyForWwwUrlEncodedPost bool   default=false

# The component ID of a filter
filter[].id string

# The binding of a filter
filter[].binding string

# Max number of threads in pool
maxWorkerThreads                      int    default = 200

# Stop timeout in seconds. The maximum allowed time to process in-flight requests during server shutdown. Setting it to 0 disable graceful shutdown.
stopTimeout                           double default = 30.0

# Enable embedded JMX server. Note: only accessible through the loopback interface.
jmx.enabled                           bool   default = false

# Listen port for the JMX server.
jmx.listenPort                        int    default = 1099

# Paths that should be reported with monitoring dimensions where applicable
metric.monitoringHandlerPaths[]       string

# Paths that should be reported with search dimensions where applicable
metric.searchHandlerPaths[]           string