Are there any open source, fast web server libraries? Thanks.
Asked
Active
Viewed 3.1k times
26
-
Duplicate? http://stackoverflow.com/questions/738273/open-source-c-c-embedded-web-server, http://stackoverflow.com/questions/175507/c-c-web-server-library, http://stackoverflow.com/questions/1205753/which-embedded-web-server-to-use-for-my-app-gui – Éric Malenfant Sep 28 '09 at 13:14
4 Answers
24
mongoose (formely shttpd, GPL v2 and commercial license), libmicrohttpd (LGPL v2.1 license).

KindDragon
- 6,558
- 4
- 47
- 75

Alex B
- 82,554
- 44
- 203
- 280
-
4
-
1Thanks 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 Sep 28 '09 at 16:12
1
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.

MRG
- 3,219
- 1
- 26
- 35
-6
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.

m.m.
- 127
- 3
-
6Qt network library doesn't give you a way of handling http protocol. It also doesn't come with a thread pooled select server. You would have to construct everything from TCP up to an http server capable of handling the [C10k problem](http://www.kegel.com/c10k.html). As such, I do not find this recommendation useful. – nurettin Sep 30 '13 at 06:18