diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-07-11 15:03:35 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-07-11 15:03:35 +0200 |
commit | abab1d4cc18662bda14bc06cccdbeb579473add1 (patch) | |
tree | 5b535e1180233484d044e2df07213801837e3f7b /server/core.c | |
parent | * modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_keypair): Load (diff) | |
download | apache2-abab1d4cc18662bda14bc06cccdbeb579473add1.tar.xz apache2-abab1d4cc18662bda14bc06cccdbeb579473add1.zip |
util_filter: keep filters with aside buckets in order.
Read or write of filter's pending data must happen in the same order as the
filter chain, thus we can't use an apr_hash_t to maintain the pending filters
since it provides no garantee on this matter.
Instead use an APR_RING maintained in c->pending_filters, and since both the
name (was c->filters) and the type changed, MAJOR is bumped (trunk only code
anyway so far).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1835640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/core.c')
-rw-r--r-- | server/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c index b962c34f46..5d2961d8d0 100644 --- a/server/core.c +++ b/server/core.c @@ -5326,7 +5326,6 @@ static conn_rec *core_create_conn(apr_pool_t *ptrans, server_rec *s, c->id = id; c->bucket_alloc = alloc; c->empty = apr_brigade_create(c->pool, c->bucket_alloc); - c->filters = apr_hash_make(c->pool); c->async_filter = sconf->async_filter; c->clogging_input_filters = 0; |