티스토리 뷰

NoSQL

mongoose - An Embedded Web Server

이성권 2013. 7. 9. 15:51

https://code.google.com/p/mongoose/

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) with SQLite3, 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: Mongoose executable size is 64 kB on Linux 2.6 i386 system
  • 320 kilobytes Windows executable with all of the above (including SSL, Lua, Sqlite) and no dependencies
  • Simple and clean embedding API, mongoose.h. The source is in single mongoose.c file to make things easy.
  • HTTP client functionality for embedded usage, capable of sending arbitrary HTTP/HTTPS requests
  • Embedding examples: hello.cpost.cupload.cwebsocket.c
  • User Manual