1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Cliff Woolley
3e2ce19baf 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
2002-03-29 08:17:26 +00:00
Roy T. Fielding
845cbfd508 Update our copyright for this year.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
Cliff Woolley
5d7a356565 Detabify those parts of this file which don't collide with the bucket
freelist patch.  The remaining tabs go away for free with that patch.
Submitted by:	Sander Striker
Reviewed by:	Brian Pane


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93714 13f79535-47bb-0310-9956-ffa450edef68
2002-03-05 18:21:39 +00:00
Cliff Woolley
b73c29403d revert buckets sms phase 1 patch. the group wants to get rid of SMS, so
the buckets can't use it.  I'll implement a free-list scheme private
to the buckets next.  in the meanwhile we're back to using malloc/free
directly instead of via the std sms.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91117 13f79535-47bb-0310-9956-ffa450edef68
2001-09-22 22:37:04 +00:00
Ryan Bloom
e12a21ff7f We have to initialize the error_bucket before we can destroy it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90674 13f79535-47bb-0310-9956-ffa450edef68
2001-08-26 03:13:36 +00:00
Cliff Woolley
2a2a31a542 BUCKETS SMS PHASE 1
Update to match apr-util


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90664 13f79535-47bb-0310-9956-ffa450edef68
2001-08-25 22:56:22 +00:00
Cliff Woolley
b4c1b66642 Update httpd to reflect change with free() pointer in buckets code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90028 13f79535-47bb-0310-9956-ffa450edef68
2001-08-08 06:04:07 +00:00
Bill Stoddard
9cdc79fb06 Update this custom bucket to use the free function pointer in apr_bucket_type_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89906 13f79535-47bb-0310-9956-ffa450edef68
2001-08-03 14:26:03 +00:00
Cliff Woolley
94dc5573dd The bucket_foo_create() functions do not need to use calloc() because
all of the members of the apr_bucket struct are always explicitly
initialized anyway... malloc() should be used instead.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89389 13f79535-47bb-0310-9956-ffa450edef68
2001-06-19 18:48:21 +00:00
Cliff Woolley
4b8fc3c6c6 Removed apr_bucket_do_create() macro, which was causing warnings
about unreachable code in some compilers (notably MSVC).  What
used to be done by this macro is now done inline in the various
apr_bucket_foo_create() functions.  [Cliff Woolley]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88811 13f79535-47bb-0310-9956-ffa450edef68
2001-04-11 19:07:01 +00:00
Cliff Woolley
fa49b7942b Update to reflect the absence of the apr_bucket_shared
struct and the newly-added start field of the apr_bucket struct


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88372 13f79535-47bb-0310-9956-ffa450edef68
2001-02-27 21:02:15 +00:00
Ryan Bloom
ed157ba547 Move the error_bucket definition from the HTTP module to the core server.
Every protocol will need this definition, so it belongs in the core.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88318 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 04:24:17 +00:00