пн, 12 апр. 2021 г. в 16:20, Rob Sargent <rsarg...@xmission.com>:
>
> Thank you.
>
> Can you suggest a way to confirm the problem is size related? Or are you 
> convinced by the numbers shown?

Look at "ServletResponse.isCommitted()"

https://cwiki.apache.org/confluence/display/TOMCAT/Specifications#Specifications-JavaServletSpecifications
https://javaee.github.io/javaee-spec/javadocs/javax/servlet/ServletResponse.html#isCommitted--

> The client is a Java 15 app so there’s a chance I could use trailer headers. 
> I’m not explicitly using chunked encoding currently.
>
> I don’t like the idea of buffering the entire response as this is the part of 
> my setup where there are likely thousands of nearly simultaneous requests and 
> the server isn’t that beefy.
>
> And I take it there is no mechanism in tomcat 9 to force the headers out on 
> an implicit flush?  Or other mechanism which ensures headers are sent?

What are those headers, and what code at what place sets them?

BTW,
an AccessLogValve can be configured to log a value of a response
header with "%{xxx}o" pattern.
https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Log_Valve


https://tomcat.apache.org/lists.html#tomcat-users
-> 6. " Top-posting is bad."

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to