I see the same issue with the latest revision.
It did pass once but got stuck at:
Tests in error:
 
testConnectFutureSuccessTiming(org.apache.mina.transport.socket.nio.SocketConnectorTest)

The next time i tried clean and install, it just stopped there. :|
is there anything am missing ? 

regards,
vishal


parki wrote:
> 
> hello!
> 
> I'm working on an async http server, transferring messages either way (ie.
> not necessarily request response). I'm basing the code on
> org.apache.mina.example.httpserver.codec. 
> 
> Everything works well, until I slam a bunch of messages to the server
> (simple GETs).
> 
> After some digging around, it's clear that there can be more than one
> complete message in the IoBuffer when decodable/decode is called. I've
> tried to rework the HttpRequestDecoder to parse up a possible bunch of
> messages, but running into many twisty little tunnels - something is
> telling me I might be going down the rabbit hole.
> 
> It's looking like the contents of the IoBuffer isn't, well, isn't exactly
> right, and I start to get off-by-one errors trying to find the location of
> the next message (if there is more than one) and then things go all to
> hell.
> 
> Can anyone shed any light on this?
> 
> Many thanks.
> 
> parki...
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-handling-multiple-messages-in-HttpRequestDecoder-tf4853729s16868.html#a14042412
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to