[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 as

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 bei

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, bu