add close() of socketpaired socket opened and passed (but that seems to be closed...
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Thu, 14 May 2020 05:17:23 +0000 (05:17 +0000)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Thu, 14 May 2020 05:17:23 +0000 (05:17 +0000)
mod_proxy_fdpass2.c

index 84e8ed3..e338c2b 100644 (file)
@@ -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;
 }