mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
* server/util_filter.c (ap_save_brigade): Handle an ENOTIMPL setaside
function correctly. * modules/generators/mod_cgi.c (cgi_handler): Revert r1.169, unnecessary CGI bucket lifetime kludge. PR: 31247 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105297 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -905,10 +905,7 @@ static int cgi_handler(request_rec *r)
|
||||
apr_file_pipe_timeout_set(script_in, 0);
|
||||
apr_file_pipe_timeout_set(script_err, 0);
|
||||
|
||||
/* if r is a subrequest, ensure that the bucket only references
|
||||
* r->main, since it may last longer than the subreq. */
|
||||
b = cgi_bucket_create(r->main ? r->main : r, script_in, script_err,
|
||||
c->bucket_alloc);
|
||||
b = cgi_bucket_create(r, script_in, script_err, c->bucket_alloc);
|
||||
#else
|
||||
b = apr_bucket_pipe_create(script_in, c->bucket_alloc);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user