From: Matteo Nastasi Date: Thu, 14 May 2020 05:17:23 +0000 (+0000) Subject: add close() of socketpaired socket opened and passed (but that seems to be closed... X-Git-Tag: v3.0.1~1 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=2402da58fc7476eca11f3259b9ba28ad63ee77a2;p=mod-proxy-fdpass.git add close() of socketpaired socket opened and passed (but that seems to be closed explicitly by the creating process) --- diff --git a/mod_proxy_fdpass2.c b/mod_proxy_fdpass2.c index 84e8ed3..e338c2b 100644 --- a/mod_proxy_fdpass2.c +++ b/mod_proxy_fdpass2.c @@ -600,6 +600,9 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker, close(mop_fd); } #endif + /* close socket pair before end proxy */ + close(ctrlrawsock[0]); + close(ctrlrawsock[1]); return OK; }