]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Follow up to r1902728: pools may have no allocator with APR_POOL_DEBUG.
authorYann Ylavic <ylavic@apache.org>
Thu, 21 Jul 2022 11:05:12 +0000 (11:05 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 21 Jul 2022 11:05:12 +0000 (11:05 +0000)
commit39f34f5abd50509de3b78dcbed6039fb0869e06f
tree98d807cd8e22eda69b73f8b8b5462f1e9b2c9d06
parentdd434a2f917b1d1a52d55dfc8272775670c4010f
core: Follow up to r1902728: pools may have no allocator with APR_POOL_DEBUG.

With APR <= 1.7 and APR_POOL_DEBUG, thread's pools don't necessarily have an
allocator, so avoid apr_allocator_max_free_set(NULL) in ap_thread_create() and
ap_thread_main_create().

Also, always create an allocator in ap_thread_current_create().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902906 13f79535-47bb-0310-9956-ffa450edef68
server/util.c