don't try to concatenate buffers if we already have at least
8KB of data ready to send. Instead, just split the brigade
and send what's currently in the iovec.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92196
13f79535-47bb-0310-9956-
ffa450edef68
apr_bucket *temp, *next;
apr_bucket_brigade *temp_brig;
+ if (nbytes >= AP_MIN_BYTES_TO_WRITE) {
+ /* We have enough data in the iovec
+ * to justify doing a writev
+ */
+ more = apr_brigade_split(b, e);
+ break;
+ }
temp_brig = apr_brigade_create(f->c->pool);
temp = APR_BRIGADE_FIRST(b);
while (temp != e) {