tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Basson <>
Subject Tomcat 8.5.5 and GZIP Post Request
Date Wed, 11 Jan 2017 17:25:09 GMT
Good Day

I have a C++ client posting a json payload to Tomcat. The payload is 
GZIP encoded and the request is send in chunks. I have added a GZIP 
Filter to my application which wrappes the ServletInputStream into a 

The request spans multiple packets, so I'm getting only partial content. 
Do I need to buffer the request content until all the content has been 
received or does Tomcat do It for you?

The compressed payload is 42K spread over 3 requests.

Technical Details:

Tomcat: 8.5.5
Server OS: Linux

Client Request Headers:

Transfer-Encoding: identity
Content-Encoding: gzip
Content-Length: 41608
Accept: application/json
Expect: 100-continue

Any Help appreciated


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message