From 902d1cc240445e56d255ae156044cf82d7981a98 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 11 Sep 2000 21:37:27 +0000 Subject: [PATCH] The apr_file_t representation of the Unix socket from which we read the CGI output should live in the request pool, not in pcgi. pcgi (in the httpd processes, at least) isn't cleaned up until we restart httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86201 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_cgid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index aeccae2355..24ff05064b 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -921,7 +921,7 @@ static int cgid_handler(request_rec *r) /* We are putting the tempsock variable into a file so that we can use * a pipe bucket to send the data to the client. */ - apr_put_os_file(&tempsock, &sd, pcgi); + apr_put_os_file(&tempsock, &sd, r->pool); if ((retval = ap_setup_client_block(r, REQUEST_CHUNKED_ERROR))) return retval; -- 2.40.0