summaryrefslogtreecommitdiffstats
path: root/include/httpd.h
diff options
context:
space:
mode:
authorCliff Woolley <jwoolley@apache.org>2002-03-29 09:17:26 +0100
committerCliff Woolley <jwoolley@apache.org>2002-03-29 09:17:26 +0100
commit3e2ce19baf3b621863e34107579b6b6b0f9f8f42 (patch)
tree2e4c11f4e59a3fd1c5002c70053333b951c4c013 /include/httpd.h
parentimport ssl_proxy_enable in the post config phase, otherwise LoadModule (diff)
downloadapache2-3e2ce19baf3b621863e34107579b6b6b0f9f8f42.tar.xz
apache2-3e2ce19baf3b621863e34107579b6b6b0f9f8f42.zip
BUCKET FREELISTS
Add an allocator-passing mechanism throughout the bucket brigades API. From Apache's standpoint, the apr_bucket_alloc_t* used throughout a given connection is stored in the conn_rec by the create_connection hook. That means it's the MPM's job to optimize recycling of apr_bucket_alloc_t's -- the MPM must ensure that no two threads can ever use the same one at the same time, for instance. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/httpd.h')
-rw-r--r--include/httpd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 143f00f8a0..fc9abf1272 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -1008,6 +1008,8 @@ struct conn_rec {
struct ap_filter_t *output_filters;
/** handle to scoreboard information for this connection */
void *sbh;
+ /** The bucket allocator to use for all bucket/brigade creations */
+ struct apr_bucket_alloc_t *bucket_alloc;
};
/* Per-vhost config... */