summaryrefslogtreecommitdiff
path: root/include/util_filter.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-09-11 21:21:40 +0000
committerYann Ylavic <ylavic@apache.org>2018-09-11 21:21:40 +0000
commit1b59b52292c991547568760fa664e709bbc871a4 (patch)
tree5df21189d592c3b3c339a0a7901a8c0ca0b10630 /include/util_filter.h
parent50f39b07dce3de7b4f9712a4e4d3a19bb59c9356 (diff)
downloadhttpd-1b59b52292c991547568760fa664e709bbc871a4.tar.gz
Follow up to r1840265: really privatize ap_filter_{recycle,adopt_brigade}().
Move ap_filter_adopt_brigade()'s declaration to "server/core.h" (private). For ap_filter_recycle(), make it static/internal to util_filter (renamed to recycle_dead_filters() which better fits what it does). It's now also called unconditionally from ap_filter_input_pending() which itself is always called after the request processing and from MPM event (as input_pending hook). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1840611 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_filter.h')
-rw-r--r--include/util_filter.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/util_filter.h b/include/util_filter.h
index 064d0cee35..5b30995d16 100644
--- a/include/util_filter.h
+++ b/include/util_filter.h
@@ -596,16 +596,6 @@ AP_DECLARE(int) ap_filter_prepare_brigade(ap_filter_t *f);
AP_DECLARE(apr_status_t) ap_filter_setaside_brigade(ap_filter_t *f,
apr_bucket_brigade *bb);
-/*
- * Adopt a bucket brigade as is (no setaside nor copy).
- * @param f The current filter
- * @param bb The bucket brigade adopted. This brigade is always empty
- * on return
- * @remark httpd internal, not exported, needed by
- * ap_core_input_filter
- */
-void ap_filter_adopt_brigade(ap_filter_t *f, apr_bucket_brigade *bb);
-
/**
* Reinstate a brigade setaside earlier, and calculate the amount of data we
* should write based on the presence of flush buckets, size limits on in
@@ -666,18 +656,6 @@ AP_DECLARE_NONSTD(int) ap_filter_output_pending(conn_rec *c);
*/
AP_DECLARE_NONSTD(int) ap_filter_input_pending(conn_rec *c);
-/*
- * Recycle removed request filters so that they can be reused for filters
- * added later on the same connection. This typically should happen after
- * each request handling.
- *
- * @param c The connection.
- * @remark httpd internal, not exported, needed by
- * ap_process_request_after_handler
- *
- */
-void ap_filter_recycle(conn_rec *c);
-
/**
* Flush function for apr_brigade_* calls. This calls ap_pass_brigade
* to flush the brigade if the brigade buffer overflows.