high performance application webserver in C/C++

Viewed 44428

Is there any high performance (ideally evented and open source) web server in C or C++?

I'd like to be able to use it in that it calls a method/function in my application with a filled out HTTP Request class/struct, and then I can return a filled out HTTP Response class/struct to it.

If it isn't open source, I'd need built in support for long-polling connections, keep-alive, etc—otherwise, I think that I can add these things myself.

If you don't know of any such servers available, would you recommend writing my own web server to fit the task? It cannot be file-based, and must be written in high-performance C/C++.


Edit: I'm thinking something like the Ruby Mongrel for C, if that helps.

5 Answers
Related