Mongoose web server
C Perl JavaScript PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 2099 commits behind cesanta:master.
Latest commit bd0ea6b Jan 8, 2013 1 @henryr PoC fix for issue #73 - clients that do not send FIN can cause worker…
… threads to get stuck

This limits exposure to the issue to Windows. But presumably the same thing can happen there, so it might be better to add an optional timeout to wait_until_socket_is_readable instead.

README.md

Project Mission

Project mission is to provide simple, functional, embeddable web server to make it easy for application and device developers to implement web interface for their application and devices, and to offer a simple web development environment.

Overview

To accomplish it's mission, Mongoose keeps balance on functionality and simplicity by carefully selected list of features:

  • Liberal, commercial-friendly MIT license
  • Works on Windows, Mac, UNIX, iPhone, Android, and many other platforms
  • Support for CGI, SSL, SSI, Digest (MD5) authorization, Websocket, WEbDAV
  • Lua server pages (PHP-like functionality using Lua), see page.lp
  • Resumed download, URL rewrite, IP-based ACL, Windows service
  • Excluding files from serving by URI pattern (file blacklist)
  • Download speed limit based on client subnet or URI pattern
  • Small footprint: executable size is 50 kB on Linux 2.6 i386 system
  • 130 kilobytes Windows executable with all of the above and no dependencies
  • Simple and clean embedding API (mongoose.h). The source is in single mongoose.c file to make things easy.
  • Embedding examples: hello.c, post.c, upload.c, websocket.c
  • Extensive documentation in form of User Manual

Questions can be asked at mongoose-users@google.com mailing list.

Keep Sergey happy

Since 2004, Mongoose is being constantly improved by me, Sergey Lyubka, a software engineer from Galway, Ireland. My other software I give to the community for free is Super Light Regular Expression library.

If you feel grateful for the stuff I've done, you can buy me a book from my Amazon wishlist. Many thanks to all who already did so: T.Barmann, D.Hughes, J.C.Sloan, R.Romeo and 4 others. Appreciated guys, you keep my brains going!