]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1934970 from trunk:
authorJoe Orton <jorton@apache.org>
Thu, 4 Jun 2026 08:47:19 +0000 (08:47 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 4 Jun 2026 08:47:19 +0000 (08:47 +0000)
* modules/filters/mod_xml2enc.c (fix_skipto): Fix accounting.

Reviewed by: covener, jfclere, gbechis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934971 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_xml2enc.c

index eb05c183a0195fc68b74c6949d2e9aa9c20a369e..20862bb24af150b4c2870eca1cf5f4da6ac3532f 100644 (file)
@@ -164,6 +164,7 @@ static void fix_skipto(request_rec* r, xml2ctx* ctx)
                         apr_bucket_delete(b);
                     }
                     ctx->bytes -= (p-ctx->buf);
+                    ctx->bblen -= (p-ctx->buf);
                     ctx->buf = p ;
                     found = 1;
                     ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01428)