svn commit: r1934970 - httpd/httpd/trunk/modules/filters

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

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

Modified:
   httpd/httpd/trunk/modules/filters/mod_xml2enc.c

Modified: httpd/httpd/trunk/modules/filters/mod_xml2enc.c
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_xml2enc.c	Thu Jun  4 08:43:59 2026	(r1934969)
+++ httpd/httpd/trunk/modules/filters/mod_xml2enc.c	Thu Jun  4 08:46:03 2026	(r1934970)
@@ -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)