* server/core_filters.c (send_brigade_nonblocking):
Keep filling in the iovec when the next bucket has no ->length.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1892450 13f79535-47bb-0310-9956-
ffa450edef68
*/
if (nbytes > sconf->flush_max_threshold
&& next != APR_BRIGADE_SENTINEL(bb)
- && !is_in_memory_bucket(next)) {
+ && next->length && !is_in_memory_bucket(next)) {
(void)apr_socket_opt_set(s, APR_TCP_NOPUSH, 1);
rv = writev_nonblocking(s, bb, ctx, nbytes, nvec, c);
if (rv != APR_SUCCESS) {