From 74bb38f449ef3aca478e7fd845562254728634a3 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Wed, 1 Mar 2000 16:21:21 +0000 Subject: [PATCH] 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 --- modules/generators/mod_cgi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index e96545cf77..fe0c0d59c5 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -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)) { -- 2.50.1