https://bz.apache.org/bugzilla/show_bug.cgi?id=63354
Bug ID: 63354
Summary: forced compression in HTTP2 truncate files
Product: Tomcat 9
Version: 9.0.19
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Created attachment 36528
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36528&action=edit
Example of truncated file by tomcat when compression="force" is in
UpgradeProtocol
if I configure the conector following this guide:
https://tomcat.apache.org/tomcat-9.0-doc/config/http2.html
and I use compression="force" in UpgradeProtocol , for example:
---
<Connector port="8443"
protocol="org.apache.coyote.http11.Http11AprProtocol"
maxThreads="150" SSLEnabled="true" >
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
compression="force" />
<SSLHostConfig>
<Certificate
certificateKeystoreFile="/home/tomcat/conf/keyfile.keystore"
certificateKeystorePassword="xxxxxx"
type="RSA" />
</SSLHostConfig>
</Connector>
---
If I use a html file that contents small text, It trunkates the text.
for example, if the jsp is (without coutes):
"B999000aaabbbccc111222333444555666777888999000abcd efghij kl mnopqr stuvwxyza
bc deE"
It returns:
"B999000aaabbbccc111222333444555666777888999000abcd efghij kl mnopqr stuvwxyza
bc "
removing the ending text "deE".
I detected sevaral file with same error, but this is the simples example that I
found.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]