On 30/06/2021 13:57, André van der Lugt wrote:
Hi,
Since upgrading our Tomcat 9.0.x installation from 9.0.46 to 9.0.48, I've
noticed
several times that the download of a response with static content from a web
archive
(i.e. JavaScript file) takes 'keepAliveTimeout' time to complete.
It only occurs with SSL enabled Http11NioProtocol and useSendfile=false.
Could this be a bug?
Possibly.
> What is needed to further clarify this?
A decrypted network trace (e.g. from wireshark) showing the problematic
connection.
You'll need to set the SSLKEYLOGFILE environment variable.
How often does this occur? Is it on every request?
The issue is clearly visible in the browser's developer tools on tab Timing:
the Content Download phase takes its normal time to download the content but
also indicates "Caution: request is not finished yet!".
The suggests some sort of issue with the client determining the content
length.
Nothing in the changelog jumps out at me as a potential cause for this
at the moment.
https://tomcat.apache.org/migration-9.html#Upgrading_9.0.x states this:
"In 9.0.48 onwards, the NIO poller was simplified and the block poller and
selector configuration has been removed"
Could it be that the problem symptom is a consequence or side effect of these
changes?
I wouldn't rule anything out at this point.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org