views:

785

answers:

7

Are there any open source, fast web server libraries? Thanks.

+1  A: 

As far as I know, libevent has a great event-driven and lightweight http server header.

Chaosteil
+1  A: 

If you want to play with the concept you can check this codproject article.

You can also check this wikipedia article whcih compares major light weight embedded server.

You can check AppWeb Http Server also.

Mahin
+5  A: 

mongoose (formely shttpd), libmicrohttpd.

Alex B
libmicrohttpd is just perfect. Thanks.
TTT
Thanks for the link to libmicrohttpd, I had no idea it even existed :) Looks like a clean API and very liberal license, its going in my tool box.
Tim Post
A: 

Take a look at Qt. I don't know if it's fast enough for you, but it has a nice network module. You also get SQL and XML modules, and a lot more (which can be nice depending on your needs), for free. GPL/LGPL and cross-platform.

http://doc.trolltech.com/4.5/qtnetwork.html

m.m.
A: 

Not a library, but:

http://www.cherokee-project.com/ is open-source, small and fast.

Easy to hook into.

Deefjuh
A: 

cherokee is under GPL license though...

billibala
Please use comments for comments, which means you'll have to get to 50 reputation first. http://meta.stackoverflow.com/questions/19756/how-do-comments-work-in-stackoverflow
Roger Pate
A: 

Snorkel is the fastest and easiest to use. It's also one of the smallest. The Linux, SunOS, and Windows versions are free. http://sites.google.com/site/snorkelembedded

Walt C.