[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: Tomcat NIO : CometProcessor
From: Filip Hanik - Dev Lists <devlists () hanik ! com>
Date: 2010-03-31 16:59:13
Message-ID: 4BB37F61.3060804 () hanik ! com
[Download RAW message or body]
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic