From d49f24c061ac262cf90ff13bd2dccc9f4bb53bd6 Mon Sep 17 00:00:00 2001 From: kakwa Date: Mon, 5 Sep 2016 23:24:41 +0200 Subject: [PATCH] a little temporary fix concerning the lack of multithread support --- inc/context.h | 2 +- tests/cfg/uts-server.cnf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/context.h b/inc/context.h index b20dd38..be4ee8b 100644 --- a/inc/context.h +++ b/inc/context.h @@ -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"}, diff --git a/tests/cfg/uts-server.cnf b/tests/cfg/uts-server.cnf index d26eda3..b254858 100644 --- a/tests/cfg/uts-server.cnf +++ b/tests/cfg/uts-server.cnf @@ -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.