On 19/06/2025 16:56, Christopher Schultz wrote:
<snip/>
2. Try remote debugging?
I'd love to, but what am I looking for? If I had seen the "committed"
flag set to "true" at some point, I would look for a value-change as a
trigger to see what's causing it.
I just commented-out everything in the Filter mentioned above other than
the chain.doFilter() call and nothing has changed (other than the Via
header is now absent from the response).
All line numbers based on 9.0.97. Adjust as necessary depending on version.
Start here:
https://github.com/apache/tomcat/blob/9.0.97/java/org/apache/coyote/http11/Http11Processor.java#L878
Stepping through prepareResponse() should show you why chunked is being
selected. Or at least point you in the right direction.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org