summaryrefslogtreecommitdiff
path: root/modules/generators
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-11-05 16:44:22 +0000
committerJoe Orton <jorton@apache.org>2019-11-05 16:44:22 +0000
commitc5fcb84758d537e0889f5376ccc26dfa39bef9ee (patch)
tree7d963d31e62ad41d423a232990e8ec6d9973c919 /modules/generators
parent124a26fb097bb9de3692e270a8f90c89efdcaee2 (diff)
downloadhttpd-c5fcb84758d537e0889f5376ccc26dfa39bef9ee.tar.gz
Add comment, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r--modules/generators/cgi_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/generators/cgi_common.h b/modules/generators/cgi_common.h
index 85c96855ea..79970253f6 100644
--- a/modules/generators/cgi_common.h
+++ b/modules/generators/cgi_common.h
@@ -27,6 +27,10 @@
#include "httpd.h"
#include "util_filter.h"
+/* Read and discard all output from the brigade. Note that with the
+ * CGI bucket, the brigade will become empty once the script's stdout
+ * is closed (or on error/timeout), but the stderr output may not have
+ * been entirely captured at this point. */
static void discard_script_output(apr_bucket_brigade *bb)
{
apr_bucket *e;