Commit c3f281d3 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Add a test program for pipes. Add support for non-buffered CGI's to mod_cgi.

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
parent fa97ff09
Loading
Loading
Loading
Loading
+3 −3
Changes for modules/generators/mod_cgi.c: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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)) {