]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
util_filter: keep filters with aside buckets in order.
authorYann Ylavic <ylavic@apache.org>
Wed, 11 Jul 2018 13:03:35 +0000 (13:03 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 11 Jul 2018 13:03:35 +0000 (13:03 +0000)
commitabab1d4cc18662bda14bc06cccdbeb579473add1
tree5b535e1180233484d044e2df07213801837e3f7b
parentefd2868a62e976df303dbb9c3847b95f4d56f5a6
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
include/ap_mmn.h
include/httpd.h
include/util_filter.h
server/core.c
server/util_filter.c