|Original author(s)||Jef Poskanzer|
2.29 (May 24, 2018)
|License||BSD licenses variant|
Design and features
thttpd is single-threaded and portable: it compiles cleanly on most Unix-like operating systems, including FreeBSD, SunOS 4, Solaris 2, BSD/OS, Linux, and OSF/1. It has an executable memory size of about 50 kB. While it can be used as a simplified replacement to more feature-rich servers, it is uniquely suited to service high volume requests for static data—for example as an image hosting server. The first "t" in thttpd stands for variously tiny, turbo, or throttling.
thttpd has a bandwidth throttling feature which enables the server administrator to limit the maximum bit rate at which certain types of files may be transferred. For example, the administrator may choose to restrict the transfer of JPEG image files to at most 20 kilobytes per second. This prevents the connection from becoming saturated so that the server will still be responsive under heavy load, with the tradeoff that file transfer speed is reduced. thttpd did not support the X-Forwarded-For header
There are at least 2 public forks of thttpd:
- sthttpd by Anthony Basile, focusing on Gentoo Linux patches
- Merecat by Joachim Nilsson, adding a number of features, most notably SSL support
- "The "Fossies" Software Archive". fossies.org. Retrieved October 14, 2015.
- "Web Server Comparisons". acme.com.
- "Welcome to NGINX Wiki! - NGINX". wiki.nginx.org.
- Debian bug of thttpd does not respect X-Forward-For header (closed)
- thttpd web site
- Description of throttling in thttpd documentation
- thttpd, unofficial resources (links, patches, etc.)
- thttpd AT mail.acme.com mailing list archive at http://marc.info
- Connection throttling patch