[MINA 3] HTTP protocol improvement

2013-02-09 Thread Emmanuel Lécharny
Hi guys, we currently have a pretty rough HTTP codec in MINA 3, based on regexp. It's good enough for test purposes, but I wonder if it wouldn't be a good idea to start working on somethng more robust and faster too ? I have gathered all the HTTP 1.1 grammar in one document, that could be used

User's Guide Chapeter 9

2013-02-09 Thread Maurizio Colizza
Dear Dev, I am studying the Apache Mina User's Guide, in order to develop a multi thread application based on Java NIO. I am doing it for my activity research (I am a PhD. student of University of L'Aquila). I am studing the example reported in Chapter 9 of the online user's guide. I want to

Re: User's Guide Chapeter 9

2013-02-09 Thread Emmanuel Lécharny
Le 2/9/13 12:09 PM, Maurizio Colizza a écrit : Dear Dev, I am studying the Apache Mina User's Guide, in order to develop a multi thread application based on Java NIO. I am doing it for my activity research (I am a PhD. student of University of L'Aquila). I am studing the example reported in

Re: [MINA 3] HTTP protocol improvement

2013-02-09 Thread Jeff MAURY
I don't think Antlr is of great help. There are a lot of protocol specific to process (encoding of header, URL escaping,...) that will not be done by an Antlr generated parser. I don't see the relation with the thread model and I think it's allowed to send a new request without the previous one

Re: [MINA 3] HTTP protocol improvement

2013-02-09 Thread Emmanuel Lécharny
Le 2/9/13 1:32 PM, Jeff MAURY a écrit : I don't think Antlr is of great help. There are a lot of protocol specific to process (encoding of header, URL escaping,...) that will not be done by an Antlr generated parser. I think that an antlr parser could most certainly handle all those cases, but

[jira] [Created] (DIRMINA-934) Replace synchronized with a Semaphore for better performance

2013-02-09 Thread Paul Gregoire (JIRA)
Paul Gregoire created DIRMINA-934: - Summary: Replace synchronized with a Semaphore for better performance Key: DIRMINA-934 URL: https://issues.apache.org/jira/browse/DIRMINA-934 Project: MINA

[jira] [Updated] (DIRMINA-934) Replace synchronized with a Semaphore for better performance

2013-02-09 Thread Paul Gregoire (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Gregoire updated DIRMINA-934: -- Attachment: ProtocolCodecFilterWithSemaphore.diff Git diff against 2.0 repo

[jira] [Commented] (DIRMINA-934) Replace synchronized with a Semaphore for better performance

2013-02-09 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575325#comment-13575325 ] Emmanuel Lecharny commented on DIRMINA-934: --- Sounds good to me. I will apply