Graham Leggett wrote:

> > A comment seems to make sense.  Why don't you post a patch with a comment,
> > and I will commit it.

Here we go...

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."
--- ../../../pristine/httpd-2.0/modules/http/http_protocol.c    Thu Mar 29 01:10:17 
2001
+++ modules/http/http_protocol.c        Tue Apr 10 12:28:49 2001
@@ -575,6 +575,10 @@
             }
 
             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;

Reply via email to