background preloader

C-based web servers

Facebook Twitter

Thttpd Web Server. The thttpd web server is nothing like Cherokee . Whereas Cherokee provides a lot of configuration options that allow various parts of a site to be located in different places a thttpd server is mainly intended to serve one directory tree, except for some special handling of directories with "~" symbols in. thttpd is also built very differently to Cherokee. It's a single thread process built out of non-blocking code so one instance of the program handles all inbound requests, as opposed to the more usual practice of coding a server to handle one request at a time and forking multiple instances to handle multiple requests.

The single threaded approach has several advantages and disadvantages: Thttpd does not suffer the overhead of forking processes to handle incoming connections. On some systems Thttpd may be subject to a bottleneck where the operating system puts incoming connections in a small queue. To counter this Thttpd places a high priority on accepting connections. Null httpd. Naken Web.

MiniHttpd: an HTTP web server library. Introduction MiniHttpd is a standalone HTTP and HTTP web server library. It can be used either as a web server, or as an HTTP listener in situations where deploying a full-blown web server such as IIS or Apache would not be feasible. One of the original motives for making MiniHttpd was to make a web interface for the Windows Media Player that I could use to control Media Player from my phone or Pocket PC and download tracks onto.

One such program, called PlayerPal , as of version 3.0 uses the Cassini library which is similar in functionality but is no longer under development. Another motive was to make an alternative file server to use between my friends. It doesn't seem to matter how many ways there are to send files - MSN, IRC, FTP, email... sometimes none of them work! MiniHttpd is not complete, and additional features and improvements are sure to come. Download To demonstrate the server, I've set up a MiniHttpd server on my friend's computer hosting the demo application binary. Logging. Anti-Web httpd. Abyss Web Server.