LengthFieldBasedFrameDecoder variable length field problem.
magneticB
tom.townsend at gmail.com
Wed Aug 3 12:19:20 EDT 2011
I'm reluctant to use 200 as a delimiter as this is a status code and may well
be returned as 503 etc.
Problem I'm having with LengthFieldBasedFrameDecoder is I have to specify
the length of the length field (lengthFieldLength) in the constructor:
LengthFieldBasedFrameDecoder(int maxFrameLength, int lengthFieldOffset, int
lengthFieldLength)
You can see see from the example in my previous post that lengthFieldLength
will change depending how long the response is! Perhaps I need to extend
LengthFieldBasedFrameDecoder in some way? Thanks for your help,
Tom
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/LengthFieldBasedFrameDecoder-variable-length-field-problem-tp6645775p6649328.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list