Re: [OT] Again with the missing headers

2021-04-12 Thread Rob Sargent
> On Apr 12, 2021, at 2:04 PM, Christopher Schultz > wrote: > > Mark, > > On 4/12/21 04:16, Mark Thomas wrote: >> maxHttpHeaderSize only applies to Tomcat reading requests from clients. It >> has no impact on the headers Tomcat sends to the client. >> Given that the issue is size dependent a

Re: [OT] Again with the missing headers

2021-04-12 Thread Christopher Schultz
Mark, On 4/12/21 04:16, Mark Thomas wrote: maxHttpHeaderSize only applies to Tomcat reading requests from clients. It has no impact on the headers Tomcat sends to the client. Given that the issue is size dependent and the the header is missing only on the larger responses, I would guess that

Re: Again with the missing headers

2021-04-12 Thread Konstantin Kolinko
пн, 12 апр. 2021 г. в 18:05, Rob Sargent : > > [...] > > The datum of concern is handled via the session. > > //Hold the offset of the first explicit marker in the chased > //segment. That marker at most 16th locus up-stream of > //segment. Less at pter. There are more markers found within

Re: Again with the missing headers

2021-04-12 Thread Rob Sargent
> On Apr 12, 2021, at 8:43 AM, Rob Sargent wrote: > > > > > Begin forwarded message: > >> From: Konstantin Kolinko >> Date: April 12, 2021 at 8:38:14 AM MDT >> To: Tomcat Users List >> Subject: Re: Again with the missing headers >> Repl

Re: Again with the missing headers

2021-04-12 Thread Konstantin Kolinko
пн, 12 апр. 2021 г. в 16:20, Rob Sargent : > > 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-JavaSe

Re: Again with the missing headers

2021-04-12 Thread Rob Sargent
Thank you. Can you suggest a way to confirm the problem is size related? Or are you convinced by the numbers shown? 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

Re: Again with the missing headers

2021-04-12 Thread Mark Thomas
maxHttpHeaderSize only applies to Tomcat reading requests from clients. It has no impact on the headers Tomcat sends to the client. Given that the issue is size dependent and the the header is missing only on the larger responses, I would guess that the Servlet is writing the header after the

Re: Again with the missing headers

2021-04-11 Thread Rob Sargent
I should mention that this is entirely on localhost (running linux) and using https. On 4/11/21 8:31 AM, Rob Sargent wrote: Thanks, I’ll go back to reading headers first. I did not mean to imply the header content differed significantly. The header value is always an integer (< 100). On Apr

Re: Again with the missing headers

2021-04-11 Thread Rob Sargent
Thanks, I’ll go back to reading headers first. I did not mean to imply the header content differed significantly. The header value is always an integer (< 100). > On Apr 10, 2021, at 11:10 PM, Brian Wolfe wrote: > > So i'm not too familiar with tomcat 9. However, I did notice that > maxHttpHe

Re: Again with the missing headers

2021-04-10 Thread Brian Wolfe
So i'm not too familiar with tomcat 9. However, I did notice that maxHttpHeaderSize default is supposed to be 8KB in 9. That is set on the connector. Which affects both request and response headers. https://tomcat.apache.org/tomcat-9.0-doc/config/http.html Did you try that? If i'm not mistaken a

Again with the missing headers

2021-04-10 Thread Rob Sargent
I saw this mentioned a couple years ago, on tomcat 7, but don't see anything recent on this topic and I'm using 9.0.43.  Of 59 separate requests to same servlet three repeatedly do not have the header entry added by the servlet to the response.  The remaining 56 all have the header/value.  The