]> granicus.if.org Git - apache/commitdiff
Add a test program for pipes. Add support for non-buffered CGI's to mod_cgi.
authorRyan Bloom <rbb@apache.org>
Wed, 1 Mar 2000 16:21:21 +0000 (16:21 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 1 Mar 2000 16:21:21 +0000 (16:21 +0000)
This still doesn't terminate CGI's after a time limit, that's the next step.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84687 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_cgi.c

index e96545cf779e56677d3d698356045fa0537d1c21..fe0c0d59c5c77d40766e911e98963625ed0bbeb2 100644 (file)
@@ -331,9 +331,9 @@ static ap_status_t run_cgi_child(BUFF **script_out, BUFF **script_in, BUFF **scr
      */
     if (((rc = ap_createprocattr_init(&procattr, p)) != APR_SUCCESS) ||
         ((rc = ap_setprocattr_io(procattr, 
-                                 APR_FULL_BLOCK, 
-                                 APR_FULL_BLOCK,
-                                 APR_FULL_BLOCK)) != APR_SUCCESS) ||
+                                 APR_CHILD_BLOCK, 
+                                 APR_CHILD_BLOCK,
+                                 APR_CHILD_BLOCK)) != APR_SUCCESS) ||
         ((rc = ap_setprocattr_dir(procattr, 
                                   ap_make_dirstr_parent(r->pool, r->filename))) != APR_SUCCESS) ||
         ((rc = ap_setprocattr_cmdtype(procattr, APR_PROGRAM)) != APR_SUCCESS)) {