summaryrefslogtreecommitdiffstats
path: root/include/http_request.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2020-04-27 16:22:04 +0200
committerYann Ylavic <ylavic@apache.org>2020-04-27 16:22:04 +0200
commit9f31d7b1f3dd58fca3cd2ead0d1f70124dcd4c5a (patch)
tree3eac9f12e061eaf4000ff4124e59c224844c680e /include/http_request.h
parentfr doc rebuild. (diff)
downloadapache2-9f31d7b1f3dd58fca3cd2ead0d1f70124dcd4c5a.tar.xz
apache2-9f31d7b1f3dd58fca3cd2ead0d1f70124dcd4c5a.zip
util_filter: axe misleading AP_BUCKET_IS_MORPHING() macro and fix comments.
Morphing buckets are not only those with ->length == -1, so the macro is misleading. Modify comments to talk about opaque buckets when length == -1 and about morphing buckets (once) for opaque and FILE buckets. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877077 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_request.h')
-rw-r--r--include/http_request.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/http_request.h b/include/http_request.h
index 11ddbaf9b6..f2ea379b23 100644
--- a/include/http_request.h
+++ b/include/http_request.h
@@ -589,15 +589,6 @@ AP_DECLARE(int) ap_if_walk(request_rec *r);
AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_eor;
/**
- * Determine if a bucket is morphing, that is which changes its
- * type on read (usually to "heap" allocated data), while moving
- * itself at the next position to remain plugged until exhausted.
- * @param e The bucket to inspect
- * @return true or false
- */
-#define AP_BUCKET_IS_MORPHING(e) ((e)->length == (apr_size_t)-1)
-
-/**
* Determine if a bucket is an End Of REQUEST (EOR) bucket
* @param e The bucket to inspect
* @return true or false