]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/filters/mod_xml2enc.c (fix_skipto): Fix accounting.
authorJoe Orton <jorton@apache.org>
Thu, 4 Jun 2026 08:46:03 +0000 (08:46 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 4 Jun 2026 08:46:03 +0000 (08:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934970 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_xml2enc.c

index b96cce78f7350869ad521e85bd83b7f4ff11fca4..727c1835c2cb8a8d42c52ea5f61f6c2a9cf75e67 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)