diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-28 00:02:42 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-28 00:02:42 +0000 |
commit | 9718f1cb7d1790484e968a4e98a752abc0a4aefe (patch) | |
tree | 30ecbb373f30796058a2df33bd43c06c85d29662 /main | |
parent | 49754530324310de65059d13879d4c2116c04240 (diff) |
In the previous commit i forgot to set the poll_timeout to -1,
causing the http threads to do busy waiting around the socket...
Fix the mistake, sorry for the inconvenience!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48074 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/http.c b/main/http.c index 1d48033e0..863c9fd18 100644 --- a/main/http.c +++ b/main/http.c @@ -166,6 +166,7 @@ static struct server_args http_desc = { .accept_fd = -1, .master = AST_PTHREADT_NULL, .is_ssl = 0, + .poll_timeout = -1, .name = "http server", .accept_fn = server_root, .worker_fn = httpd_helper_thread, @@ -175,6 +176,7 @@ static struct server_args https_desc = { .accept_fd = -1, .master = AST_PTHREADT_NULL, .is_ssl = 1, + .poll_timeout = -1, .name = "https server", .accept_fn = server_root, .worker_fn = httpd_helper_thread, |