mirror of
https://github.com/kakwa/uts-server
synced 2025-01-09 21:24:29 +01:00
a little temporary fix concerning the lack of multithread support
This commit is contained in:
parent
1135fefb79
commit
612dedad64
@ -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…
x
Reference in New Issue
Block a user