Author: joes
Date: Fri Jul 8 09:01:10 2005
New Revision: 209830
URL: http://svn.apache.org/viewcvs?rev=209830&view=rev
Log:
spool bucket copying makes the bucket types exactly the
opposite of what we need in "the oversized file bucket"
case in apreq_brigade_concat().
Modified:
httpd/apreq/trunk/library/util.c
Modified: httpd/apreq/trunk/library/util.c
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/util.c?rev=209830&r1=209829&r2=209830&view=diff
==============================================================================
--- httpd/apreq/trunk/library/util.c (original)
+++ httpd/apreq/trunk/library/util.c Fri Jul 8 09:01:10 2005
@@ -1237,7 +1237,12 @@
e->start = last_out->start + FILE_BUCKET_LIMIT;
wlen -= FILE_BUCKET_LIMIT - last_out->length;
last_out->length = FILE_BUCKET_LIMIT;
+
+ /* Copying makes the bucket types exactly the
+ * opposite of what we need here.
+ */
last_out->type = &apr_bucket_type_file;
+ e->type = &spool_bucket_type;
APR_BRIGADE_INSERT_TAIL(out, e);
last_out = e;