a little temporary fix concerning the lack of multithread support

This commit is contained in:
kakwa 2016-09-05 23:24:41 +02:00
parent 225c2d3a7c
commit d49f24c061
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ struct rfc3161_option {
};
static struct rfc3161_option rfc3161_options[] = {
{"num_threads", HTTP_OPTIONS, "50"},
{"num_threads", HTTP_OPTIONS, "1"},
{"run_as_user", HTTP_OPTIONS, NULL},
{"throttle", HTTP_OPTIONS, NULL},
{"enable_keep_alive", HTTP_OPTIONS, "no"},

View File

@ -15,8 +15,8 @@ listening_ports = 127.0.0.1:2020
# Allows clients to reuse TCP connection for subsequent HTTP requests, which improves performance.
enable_keep_alive = no
# Number of worker threads.
num_threads = 1
# Number of worker threads. don't set, crashes if other than 1 (default)
#num_threads = 10
# Switch to given user credentials after startup.
# Required to run on privileged ports and not be run as root.