Commit 5bc6f1db authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Add a comment about how http_filter works.

Submitted by:	Graham Leggett <minfrin@sharp.fm>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88911 13f79535-47bb-0310-9956-ffa450edef68
parent 803ca423
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -575,6 +575,11 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode
            }

            if (len) {
                /* note: this can sometimes insert empty buckets into the
                 * brigade, or the data might come in a few characters at
                 * a time - don't assume that one call to apr_bucket_read()
                 * will return the full string.
                 */
                if (f->c->remain < len) {
                    apr_bucket_split(e, f->c->remain);
                    f->c->remain = 0;