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?

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).

Any help is appreciated.

Thanks - it's great stuff.

Regards,

parki...

-- 
View this message in context: 
http://www.nabble.com/Question-about-mina-availability-wrt-next-release-tp14851428s16868p14851428.html
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to