that have no body on c2 connection input filter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1894949 13f79535-47bb-0310-9956-
ffa450edef68
return APR_ECONNABORTED;
}
- if (!conn_ctx->beam_in) {
- return APR_EOF;
- }
-
if (!fctx) {
fctx = apr_pcalloc(f->c->pool, sizeof(*fctx));
f->ctx = fctx;
fctx->bb = apr_brigade_create(f->c->pool, f->c->bucket_alloc);
+ if (!conn_ctx->beam_in) {
+ b = apr_bucket_eos_create(f->c->bucket_alloc);
+ APR_BRIGADE_INSERT_TAIL(fctx->bb, b);
+ }
}
/* Cleanup brigades from those nasty 0 length non-meta buckets