| Summary: | JBoss Web org.apache.coyote.http11.Http11Protocol.COMPRESSION not working as expected | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jan Stourac <jstourac> |
| Component: | Web, Documentation | Assignee: | Andrea Hoffer <ahoffer> |
| Status: | CLOSED EOL | QA Contact: | Pavel Slavicek <pslavice> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.7 | CC: | rmaucher, sjay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-02 07:33:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Stourac
2016-04-26 10:58:02 UTC
Ok, I've just realized one important thing - there is also property "org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIN_SIZE" which is by default set to 2048 Bytes. During my testing recently I used default content page, whose response size is only 1496 Bytes. Therefore I have done another testing with COMPRESSION_MIN_SIZE set to "1200". Here are results: - on: this value now seems to be working just fine - when client provides "Accept-Encoding" header in request then response is compressed, otherwise response is uncompressed - force: this behaves same way as value "on" now (compressed response only when client provides "Accept-Encoding" http header). But there is one difference - now it does not matter how big the response is (does not matter value of COMPRESSION_MIN_SIZE property). Therefore "force" value works like this: It forces compression for any response size but only in case that client sends "Accept-Encoding" http header. Is this actually correct behaviour? If I have misunderstood the way the "force" value should work, I think it should deserve better explanation in documentation. |