tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wojcik <mwoj...@newsguy.com>
Subject Re: Tomcat NIO : CometProcessor
Date Mon, 05 Apr 2010 14:57:41 GMT
Filip Hanik - Dev Lists wrote:
> 
> you're wrong, I believe it is
> 
> chunk-header:blabla<CRLF>
> chunk-data<CRLF>
> 
> The spec says
> 
>        chunk          = chunk-size [ chunk-extension ] CRLF
>                         chunk-data CRLF
> 
> 
> Hence, the request that was posted here, should have been 16bytes
> header, not 18

Whoops - you are correct. Somehow I overlooked that second "CRLF" when
I checked 3.1.6. I should have checked an implementation and not just
the spec...

(The CRLF after chunk-data exists mostly to make any optional trailers
easier to read, presumably.)

So yes, the chunk-size in the posted request was wrong.

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University


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


Mime
View raw message