[Bug 62072] Add support for request compression

2021-02-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

--- Comment #5 from Matafagafo  ---
Today I tried to use Apache HttpClient GzipCompressingEntity
(https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/client/entity/GzipCompressingEntity.html)
to send compressed requests to my Web APP running on Tomcat 9, and I stopped
here :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2021-02-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

Matafagafo  changed:

   What|Removed |Added

 CC||matafag...@yahoo.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2020-04-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

--- Comment #4 from Mark Thomas  ---
Have a look at org.apache.coyote.http11.filters under java/

If I was going to do this I'd Look at how ChunkedInputFilter and
ChunkedOutputFilter are used compared to GzipOutoutFilter and use that as a
basis for a new GzipInputFilter class and associated plumbing.

This will definitely need lots of test cases. See the equivalent package under
test/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2020-04-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

--- Comment #3 from Nicolò Boschi  ---
I'd like to work on that, could someone tell me where the changes need to be
made?
This is my first issue on tomcat

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2019-07-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

--- Comment #2 from Christopher Schultz  ---
When the request entity is compressed, the encoding should be specified in the
Content-Encoding header, not the Transfer-Encoding header.

Transfer-Encoding could also certainly be supported if Content-Encoding is also
supported.

This seems like the kind of thing that SHOULD be supported if possible. Using
e.g. gzip to upload data does give a good performance boost. Chips are fast
these days -- much faster than data pipes.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2019-07-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

--- Comment #1 from Eugène Adell  ---

Compression can be used with both Content-Encoding or Transfer-Encoding, in
practice we see Transfer-Encoding much more than the other as the compression
is delegated to the web server, not to the filesystem itself or DB storage
(from my understanding Content-Encoding means the ressource is itself in
compressed state).

Compression is not always a good idea : it was removed from TLS (1.3) after
BREACH/CRIME since it can compromise client-side, and even when SSL is not used
it can lead to serious problems compromising server-side (such as
https://en.wikipedia.org/wiki/Zip_bomb )

However, I've seen big performance improvements on servers sending compressed
data when the homepage is heavy in text/javascript (10 mB)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 62072] Add support for request compression

2018-02-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62072

Andy Wilkinson  changed:

   What|Removed |Added

 CC||awilkin...@pivotal.io

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org