On Mon, Dec 27, 2010 at 3:46 AM, Jeroen Habraken <[email protected]> wrote: > On 26 December 2010 15:57, Dean Michael Berris <[email protected]> wrote: >> On Fri, Dec 24, 2010 at 9:39 PM, Jeroen Habraken <[email protected]> wrote: >>> Just ran into https://github.com/ry/http-parser, which might be nice >>> to integrate. >>> >> >> Interesting. Thanks Jeroen, I'll take a look at this at some point. >> It's just been crazy for me lately. >> >> Can you give me at least a high-level idea of what I should be looking at >> here? > > Sure, this is a RFC compliant HTTP parser, and there are a couple of > things which might be of interest. First of all, it's a switch-case > style parser, thus the case's they've chosen might be of interest. > Secondly, and more importantly, it comes with quite a neat test set > which might help you in your TDD approach. >
Interesting. I see that it's written in C, but I'm not sure what license they use for the code. That said, I already have an incremental parser in the library for both requests and responses. I don't see why I'll need another implementation in there. ;) /me was secretly hoping that it was written in Spirit. :P Thanks again Jeroen, I'll think more about it. -- Dean Michael Berris about.me/deanberris ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Cpp-netlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
