[Maarten Van Horenbeeck] [Information Security] [Patches & Code]
Toledo: a small web server in Perl
In 2001 I wrote a very small web server in Perl. It was only intended to serve a number of HTML documents. Ilja Van Sprundel, a good friend and an excellent coder, contributed code to perform strict request checking. Our goal at that stage was to make a small but efficient server with an excellent security profile.
Even though Toledo has always been serving pages somewhere, in some capacity, shape or form, it is not actively being developed. I tend to use it as a "plug in" web server when I have limited content to share and quickly need to set one up. On this page I do keep a list of functionality I add, and perhaps in the future we'll make the source code available as well.
Functionality implemented:
- May 22nd, 2006: When a file is requested that does not exist, verify whether it should be a directory (trailing slash forgotten) and autocomplete
- May 22nd, 2006: Resolved a forking bug that could cause the daemon to result to crash or to leave zombie processes lying around
- May 22nd, 2006: When files are downloaded that do not have a .html or .txt extension, send along a MIME header with image/octet-stream to trigger a download box in the client