]> granicus.if.org Git - apache/commitdiff
Ryan's recent, suggested patch in this area pointed out that we were
authorGreg Stein <gstein@apache.org>
Wed, 16 Aug 2000 19:28:27 +0000 (19:28 +0000)
committerGreg Stein <gstein@apache.org>
Wed, 16 Aug 2000 19:28:27 +0000 (19:28 +0000)
    missing the needed comparison on the request. this allows subrequests to
    insert filters properly (by stopping the scan before transitioning to
    the parent request's filters)

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

server/util_filter.c

index 31cad818a17031321f702dc7bb18abe7a730dd6c..328fe036efbec38c6740b494c8828079b382345c 100644 (file)
@@ -91,7 +91,8 @@ static ap_filter_rec_t *registered_filters = NULL;
 ** corresponds to a different request.
 */
 #define INSERT_BEFORE(f, before_this) ((before_this) == NULL \
-                                       || (before_this)->ftype > (f)->ftype)
+                                       || (before_this)->ftype > (f)->ftype \
+                                       || (before_this)->r != (f)->r)
 
 
 static apr_status_t filter_cleanup(void *ctx)