Couple of questions about HttpMessageDecoder

brunodecarvalho kindernade at gmail.com
Tue Nov 16 09:27:17 EST 2010


I need to write this little HTTP server that before accepting (for instance)
a POST, needs to check the headers. Only after this check should the rest of
the body be consumed (or the connection shut down).

I know that HttpMessageDecoder can split long non-chunked HTTP if the size
is bigger than a given (customizable) threshold.
My question is when this split occurs, does it *always* generate an
HttpRequest object that contains only request line + headers and then
generates HttpChunk for the content, or can the HttpRequest object itself
also contain some leading data?

I've never observed this latter scenario in hotpotato but I'd like to be
sure :)


Cheers,
  Bruno
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Couple-of-questions-about-HttpMessageDecoder-tp5743976p5743976.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list