diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-09-03 10:27:40 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-09-03 10:27:40 +0000 |
commit | ee0e1be9c3fb5e25cd14dabd6e3b8b6870ca3e98 (patch) | |
tree | 4d5a58c9a058e8470033acd64cc70aedcdd5d10f /include/util_filter.h | |
parent | fa321ddeba38b0cd5f8bf55ce4306a8006c9e39c (diff) | |
download | httpd-ee0e1be9c3fb5e25cd14dabd6e3b8b6870ca3e98.tar.gz |
util_filter: split pending filters ring in two: input and output ones.
Pending input and output are now maintained separately in respectively
c->pending_input_filters and c->pending_output_filters, which improves
both performances and debug-ability.
Also, struct ap_filter_ring is made opaque, it's only used by util_filter
and this will allow us to later change it e.g. to a dual ring+apr_hash to
avoid quadratic search in ap_filter_prepare_brigade().
MMN major bumped due to the change in conn_rec (this is trunk only code
anyway for now).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1839933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_filter.h')
-rw-r--r-- | include/util_filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/util_filter.h b/include/util_filter.h index af9eba9c18..e863bfe7a1 100644 --- a/include/util_filter.h +++ b/include/util_filter.h @@ -304,9 +304,9 @@ struct ap_filter_t { }; /** - * @brief The representation of a filters' ring. + * @brief The type of a filters' ring (opaque). */ -typedef APR_RING_HEAD(ap_filter_ring, ap_filter_t) ap_filter_ring_t; +typedef struct ap_filter_ring ap_filter_ring_t; /** * Get the current bucket brigade from the next filter on the filter |