apr_brigade_split_boundary: Make sure the ignore offset is reset after
each sending of a bucket downstream.
@@ -489,6 +489,7 @@ APR_DECLARE(apr_status_t) apr_brigade_split_boundary(apr_bucket_brigade *bbOut,
apr_bucket_split(e, off);
APR_BUCKET_REMOVE(e);
APR_BRIGADE_INSERT_TAIL(bbOut, e);
+ ignore = 0;
e = APR_BRIGADE_FIRST(bbIn);
}
@@ -504,6 +505,7 @@ APR_DECLARE(apr_status_t) apr_brigade_split_boundary(apr_bucket_brigade *bbOut,
APR_BUCKET_REMOVE(e);
APR_BRIGADE_INSERT_TAIL(bbOut, e);
+ ignore = 0;
outbytes += len;
@@ -532,6 +534,7 @@ APR_DECLARE(apr_status_t) apr_brigade_split_boundary(apr_bucket_brigade *bbOut,
apr_bucket_split(e, off);
APR_BUCKET_REMOVE(e);
APR_BRIGADE_INSERT_TAIL(bbOut, e);
+ ignore = 0;
outbytes += off;
@@ -548,6 +551,7 @@ APR_DECLARE(apr_status_t) apr_brigade_split_boundary(apr_bucket_brigade *bbOut,
APR_BUCKET_REMOVE(e);
APR_BRIGADE_INSERT_TAIL(bbOut, e);
+ ignore = 0;
outbytes += off;
