* modules/proxy/mod_proxy_http.c (ap_proxy_http_register_hook): Fix
apr_pool_cleanup_register() invocation added in r583202, which was
causing every apr_proc_create() call to segfault.
Submitted by: jorton
Reviewed by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@584821
13f79535-47bb-0310-9956-
ffa450edef68
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * modules/proxy/mod_proxy_http.c (ap_proxy_http_register_hook): Fix
- apr_pool_cleanup_register() invocation added in r583202, which was
- causing every apr_proc_create() call to segfault.
- Trunk version of patch:
- http://svn.apache.org/viewvc?view=rev&revision=583813
- +1: rpluem, jim, niq
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
proxy_hook_scheme_handler(proxy_http_handler, NULL, NULL, APR_HOOK_FIRST);
proxy_hook_canon_handler(proxy_http_canon, NULL, NULL, APR_HOOK_FIRST);
warn_rx = ap_pregcomp(p, "[0-9]{3}[ \t]+[^ \t]+[ \t]+\"[^\"]*\"([ \t]+\"([^\"]+)\")?", 0);
- apr_pool_cleanup_register(p, p, warn_rx_free, NULL);
+ apr_pool_cleanup_register(p, p, warn_rx_free, apr_pool_cleanup_null);
}
module AP_MODULE_DECLARE_DATA proxy_http_module = {