From 762c73e2ac8752ddb96fa5ee0079cfd76dec84ec Mon Sep 17 00:00:00 2001 From: Unbit Date: Sat, 28 Sep 2013 12:06:22 +0200 Subject: [PATCH] close workers sockets in gateways --- core/gateway.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/gateway.c b/core/gateway.c index 15b08b12..1402c5c3 100644 --- a/core/gateway.c +++ b/core/gateway.c @@ -70,6 +70,7 @@ void gateway_respawn(int id) { if (gw_pid == 0) { uwsgi_fixup_fds(0, 0, ug); + uwsgi_close_all_sockets(); if (uwsgi.master_as_root) uwsgi_as_root(); #ifdef __linux__