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
}
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;