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
This commit is contained in:
Jeff Trawick
2000-09-11 21:37:27 +00:00
parent 07789920fc
commit 902d1cc240

View File

@ -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;