httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r599711 - /httpd/httpd/trunk/server/util_filter.c
Date Fri, 30 Nov 2007 07:24:03 GMT
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;
 



Mime
View raw message