You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2007/11/30 08:24:03 UTC
svn commit: r599711 - /httpd/httpd/trunk/server/util_filter.c
Author: rpluem
Date: Thu Nov 29 23:23:55 2007
New Revision: 599711
URL: http://svn.apache.org/viewvc?rev=599711&view=rev
Log:
* Use the correct pool when adding connection level filters.
Submitted by: jorton
Reviewed by: rpluem
Modified:
httpd/httpd/trunk/server/util_filter.c
Modified: httpd/httpd/trunk/server/util_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_filter.c?rev=599711&r1=599710&r2=599711&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_filter.c (original)
+++ httpd/httpd/trunk/server/util_filter.c Thu Nov 29 23:23:55 2007
@@ -279,7 +279,7 @@
ap_filter_t **p_filters,
ap_filter_t **c_filters)
{
- apr_pool_t* p = r ? r->pool : c->pool;
+ apr_pool_t* p = frec->ftype < AP_FTYPE_CONNECTION && r ? r->pool : c->pool;
ap_filter_t *f = apr_palloc(p, sizeof(*f));
ap_filter_t **outf;