diff options
author | Ryan Bloom <rbb@apache.org> | 2000-10-12 18:35:39 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-10-12 18:35:39 +0200 |
commit | c27033df766451cb3e3c19a251e6ffb777dbf9bd (patch) | |
tree | e03e81cbedc826dd2039e0f77c64a1458ffe6f6e /include/http_protocol.h | |
parent | Move more path parsing fixes forward from 1.3 (diff) | |
download | apache2-c27033df766451cb3e3c19a251e6ffb777dbf9bd.tar.xz apache2-c27033df766451cb3e3c19a251e6ffb777dbf9bd.zip |
Implement a length argument on input filters. There are three possible
values for the length, -1, 0, and a positive number. -1 means that the
next filter should return all the data it has, the current filter will
take care to ensure that the protocol is followed. Most filters will
never use this, because it implies they are implementing a conn_based
input filter. 0 means give me exactly one line of data. A positive
number means give me a maximum of n bytes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_protocol.h')
-rw-r--r-- | include/http_protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h index 1900d36c6d..789ba228ed 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -529,7 +529,7 @@ API_EXPORT(int) ap_method_number_of(const char *method); */ API_EXPORT(const char *) ap_method_name_of(int methnum); -int http_filter(ap_filter_t *f, ap_bucket_brigade *b); +int http_filter(ap_filter_t *f, ap_bucket_brigade *b, apr_ssize_t length); /* Hooks */ /* |