On 03/31/2010 09:29 AM, Christian Pfeiffer wrote:
31 32
Let's take a look at the data you are sending

0040  36 17 31 32 0d 0a 3c 78 6d 6c 3e 48 65 6c 6c 6f   6.12..<xml>Hello
0050  3c 2f 78 6d 6c 3e 0d 0a </xml>..

Your Chunk header: 31 32
That represents  : 12
Which means, Tomcat will expect 18 bytes after the 0d 0a

The data you send:
0040  3c 78 6d 6c 3e 48 65 6c 6c 6f <xml>Hello
0050  3c 2f 78 6d 6c 3e </xml>

I count 16 bytes.

I just skimmed this through, but from what I remember, the CRLF after </xml> should not be counted into your "chunk header"



Filip


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

Reply via email to