tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Tomcat and "Chunked Transfer-Encoding"
Date Mon, 03 Feb 2014 09:34:21 GMT

We have some weird behaviopur with one of our applications using 

This is the report of the newtork engineer:

The application (or app server - apache/coyote) is returning a response 
with "Chunked Transfer-Encoding", but is sending the first chunks before 
giving the http headers (that defines the chunk-encoding).

The result is that the client receives a response stating by the 
definition on the chunk lenght (7a5), and as the header "Content-Encoding" 
has not been received, that length definition is interpreted as response 

Here is a dump of the communication between TARS Reverse Proxy and the 
Back-end. (You may notice the response headers - 200 OK - after the first 
chunk (in blue, starting by "7a5", the length in HEX )

See attached screenshot tcpstream.jpg.


This e-mail may contain confidential information.
If you are not an addressee or otherwise authorised to receive this message, you should not
use, copy, disclose or take any action based on this e-mail. 
If you have received this e-mail in error, please inform the sender promptly and delete this
message and any attachments immediately.
View raw message