Fixed in the upstream:
https://github.com/slact/nginx_http_push_module/issues/83#issuecomment-37508708
https://github.com/slact/nginx_http_push_module/commit/836e8319c93681386fb00e6bd34d9e37612f3334

WBR
--- debian/modules/nginx-http-push/src/ngx_http_push_module_setup.c	2014-03-13 17:53:52.562119546 +0900
+++ debian/modules/nginx-http-push/src/ngx_http_push_module_setup.c	2014-03-05 01:12:12.000000000 +0900
@@ -17,13 +17,7 @@
 	if((ngx_http_push_init_ipc_shm(ngx_http_push_worker_processes))!=NGX_OK) {
 		return NGX_ERROR;
 	}
-	else if (ngx_process != NGX_PROCESS_WORKER) {
-		//not a worker, stop initializing stuff
-		return NGX_OK;
-	}
-	else {
-		return ngx_http_push_register_worker_message_handler(cycle);
-	}
+	return ngx_http_push_register_worker_message_handler(cycle);
 }
 
 // shared memory zone initializer

Reply via email to