a little temporary fix concerning the lack of multithread support
This commit is contained in:
parent
225c2d3a7c
commit
d49f24c061
|
@ -30,7 +30,7 @@ struct rfc3161_option {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct rfc3161_option rfc3161_options[] = {
|
static struct rfc3161_option rfc3161_options[] = {
|
||||||
{"num_threads", HTTP_OPTIONS, "50"},
|
{"num_threads", HTTP_OPTIONS, "1"},
|
||||||
{"run_as_user", HTTP_OPTIONS, NULL},
|
{"run_as_user", HTTP_OPTIONS, NULL},
|
||||||
{"throttle", HTTP_OPTIONS, NULL},
|
{"throttle", HTTP_OPTIONS, NULL},
|
||||||
{"enable_keep_alive", HTTP_OPTIONS, "no"},
|
{"enable_keep_alive", HTTP_OPTIONS, "no"},
|
||||||
|
|
|
@ -15,8 +15,8 @@ listening_ports = 127.0.0.1:2020
|
||||||
# Allows clients to reuse TCP connection for subsequent HTTP requests, which improves performance.
|
# Allows clients to reuse TCP connection for subsequent HTTP requests, which improves performance.
|
||||||
enable_keep_alive = no
|
enable_keep_alive = no
|
||||||
|
|
||||||
# Number of worker threads.
|
# Number of worker threads. don't set, crashes if other than 1 (default)
|
||||||
num_threads = 1
|
#num_threads = 10
|
||||||
|
|
||||||
# Switch to given user credentials after startup.
|
# Switch to given user credentials after startup.
|
||||||
# Required to run on privileged ports and not be run as root.
|
# Required to run on privileged ports and not be run as root.
|
||||||
|
|
Loading…
Reference in New Issue