Shttp 0.0.4 (Default branch) |
|
|
Shttp is a simple, partial HTTP/1.1 implementation
built using the ServerKit framework. It's a little over 1000 lines of code, and serves well as a
minimal lightweight HTTP server in
closed/controlled/static content settings, as well as a learning
tool for those interested in developing
TCP-service-providing modules using ServerKit.
Illustrating how easy it is to build efficient
server programs using ServerKit, this module has
demonstrated 7200 requests/second in AB benchmarks.
License: GNU General Public License (GPL)
Changes:
Much needed 404/403/400/301 response codes were added, making the server much more courteous to the browser in error situations. This release also added redirection when the URI maps to a directory but lacks a trailing '/'. Previously, any relative HREFs in the document would be broken due to a missing '/'.
|