diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-16 10:14:18 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-02-16 10:14:18 +0100 |
commit | 9edc38d045fe9a278f675c52998fe5b7c390bacc (patch) | |
tree | 045bc739903993a83a2288018d80007761e8837e | |
parent | 9f4c210a0594a47f988b2be824ee558b68641883 (diff) |
Re-disable threaded connections.
-rw-r--r-- | server/src/httpd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/httpd.cc b/server/src/httpd.cc index 1c0575a..579743f 100644 --- a/server/src/httpd.cc +++ b/server/src/httpd.cc @@ -181,7 +181,7 @@ Httpd::~Httpd() void Httpd::listen(unsigned short int port, unsigned int cn_limit, unsigned int cn_timeout) { - int flags = MHD_USE_DEBUG | MHD_USE_THREAD_PER_CONNECTION; + int flags = MHD_USE_DEBUG | MHD_USE_SELECT_INTERNALLY;//MHD_USE_THREAD_PER_CONNECTION; d = MHD_start_daemon(flags, port, NULL, NULL, request_handler, this, @@ -201,7 +201,7 @@ void Httpd::listen_ssl(unsigned short int port, std::string key, std::string cert, unsigned int cn_limit, unsigned int cn_timeout) { - int flags = MHD_USE_DEBUG | MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL; + int flags = MHD_USE_DEBUG | MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL;//MHD_USE_THREAD_PER_CONNECTION; d_ssl = MHD_start_daemon(flags, port, NULL, NULL, request_handler, this, |