[svn-commits] rizzo: trunk r48074 - /trunk/main/http.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Nov 27 17:02:42 MST 2006


Author: rizzo
Date: Mon Nov 27 18:02:42 2006
New Revision: 48074

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48074
Log:
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!


Modified:
    trunk/main/http.c

Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=48074&r1=48073&r2=48074
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Mon Nov 27 18:02:42 2006
@@ -166,6 +166,7 @@
 	.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 @@
 	.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,



More information about the svn-commits mailing list