]> granicus.if.org Git - apache/commitdiff
The apr_file_t representation of the Unix socket from which we read
authorJeff Trawick <trawick@apache.org>
Mon, 11 Sep 2000 21:37:27 +0000 (21:37 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 11 Sep 2000 21:37:27 +0000 (21:37 +0000)
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

index aeccae23553a9100f9ab0776f4af57f64a532aa6..24ff05064bdbefabffbc1830f63bcd29623b6601 100644 (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;