www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - small web server in D

reply Marcio <mqmnews321 sglebs.com> writes:
If someone needs inspiration to write one:

http://elonen.iki.fi/code/nanohttpd/

marcio
Mar 26 2006
parent reply Brad Anderson <brad dsource.dot.org> writes:
Marcio wrote:
 
 If someone needs inspiration to write one:
 
 http://elonen.iki.fi/code/nanohttpd/
 
 marcio
Cool! I know it's not 'just one file,' but Mango has a small *fast* http server. It is rumored to brush aside 100,000 connections without breaking a sweat. http://www.dsource.org/projects/mango/browser/trunk/mango/http/server BA
Mar 26 2006
parent Marcio <mqmnews321 sglebs.com> writes:
Brad Anderson wrote:
 I know it's not 'just one file,' but Mango has a small *fast* http server.  It
 is rumored to brush aside 100,000 connections without breaking a sweat.
 
 http://www.dsource.org/projects/mango/browser/trunk/mango/http/server
I will take a look, thanks. Does it use a SELECT based approach like lighttpd or does it use threads? I wrote a select-based rsync server in SmallEIffel ages ago, and it was damn fast. No threads, damn fast. marcio
Mar 26 2006