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 GZIPInputStream.

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:

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

Any Help appreciated

Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to