svn commit: r1934971 - in httpd/httpd/branches/2.4.x: . modules/filters

[email protected] Thu, 04 Jun 2026 08:47:19 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178056283969.2695782.12240157939962957303@svn03-he-fi>
Author: jorton
Date: Thu Jun  4 08:47:19 2026
New Revision: 1934971

Log:
Merge r1934970 from trunk:

* modules/filters/mod_xml2enc.c (fix_skipto): Fix accounting.

Reviewed by: covener, jfclere, gbechis

Modified:
   httpd/httpd/branches/2.4.x/   (props changed)
   httpd/httpd/branches/2.4.x/modules/filters/mod_xml2enc.c

Modified: httpd/httpd/branches/2.4.x/modules/filters/mod_xml2enc.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/filters/mod_xml2enc.c	Thu Jun  4 08:46:03 2026	(r1934970)
+++ httpd/httpd/branches/2.4.x/modules/filters/mod_xml2enc.c	Thu Jun  4 08:47:19 2026	(r1934971)
@@ -164,6 +164,7 @@ static void fix_skipto(request_rec* r, x
                         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)