Hello Parki, On Jan 16, 2008 8:10 AM, parki <[EMAIL PROTECTED]> wrote: > > Hello! > > I have been using mina successfully in a project I'm working on - a key > requirement is to be able to open a long running HTTP connection and then > send packets both ways asynchronously and to not consume threads per > connection. I was able to get mina to work (easy) - running with a somewhat > outdated version taken from the development trunk. > > There is one issue - if the client application sends more than one HTTP > requests with no delay, this can cause a problem in the HttpRequestDecoder > and things go awry (as the decoder "sees" a request and a half and gets > confused). My fix for now is to ensure that there is a time delay (like ~ 10 > ms) which avoids the issue. > > I noted this a here in the forum a while ago, and was instructed to grab a > newer version, as this was being worked on at the time. I instead chose to > keep with what I have, and to wait until the next release. > > So, I guess my question is two-fold: > > 1. Does this problem in the HttpRequestDecoder ring any bells?
Maybe I fixed it in the latest snapshot. Please give it a try, but I cannot guarantee. :) > 2. When would be a good time to plan the work of ditching the old dev > version of mina and upgrading to one with the changes planned for the HTTP > stuff? > > I'm not in that much of a hurry, just wondering (and thinking of when to > plan the refactoring exercise on my side). I want to start the vote for releasing 2.0.0-M1 as soon as we resolve issues with IoSessionLogger and System call overhead, which affect API. Thanks for you support and HTH :) Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
