aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/main/resources/configdefinitions/jdisc.http.jdisc.http.server.def
blob: 049080dedbdbd47aaf695bb9659344ce6346f2eb (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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

# Filter id for a default filter (chain)
defaultFilters[].filterId string

# The local port which the default filter should be applied to
defaultFilters[].localPort int

# Reject all requests not handled by a request filter (chain)
strictFiltering                       bool   default = false

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

# Min number of threads in underlying Jetty pool
minWorkerThreads                      int    default = 8

# 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

# HTTP request headers that contain remote address
accessLog.remoteAddressHeaders[]      string

# HTTP request headers that contain remote port
accessLog.remotePortHeaders[]         string

# Whether to enable jdisc connection log
connectionLog.enabled                 bool default=false