summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-09-12 05:40:15 +0200
committerRyan Bloom <rbb@apache.org>2000-09-12 05:40:15 +0200
commit9acfd7de2d28102eb495729f78b526395cb3b2d4 (patch)
tree0c6da6b831f28a39662039f07353d513961e64f6 /include
parentThe apr_file_t representation of the Unix socket from which we read (diff)
downloadapache2-9acfd7de2d28102eb495729f78b526395cb3b2d4.tar.xz
apache2-9acfd7de2d28102eb495729f78b526395cb3b2d4.zip
Ensure that only one EOS bucket is sent down the filter stack. This is
done by adding a flag to the request_rec. When ap_pass_bucket sees an EOS bucket, the flag is set. If the flag is still unset when ap_finalize_request is called, then ap_finalize_request sends an EOS. This fixes the problem with chunking and CGI. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86202 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 81551f4188..b9773360be 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -800,6 +800,7 @@ struct request_rec {
/** A list of filters to be used for this request
* @defvar ap_filter_t *filters */
struct ap_filter_t *filters;
+ int eos_sent;
/* Things placed at the end of the record to avoid breaking binary
* compatibility. It would be nice to remember to reorder the entire