diff --git a/main/http.c b/main/http.c
index 1d48033e0ef317043dd404048424827b3fb86e82..863c9fd18a101fc605dc49a9b6d7b12cebfc14b0 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,