Embedded Web Server
Go to file
2012-09-20 17:22:22 +01:00
bindings Changing API: callback doesnt get mg_request_info pointer anymore, but it is possible to get it using mg_get_request_info() 2012-08-03 11:15:38 +01:00
examples Added comment on the websocket example page 2012-09-20 14:01:45 +01:00
test Refactored data buffering. Updated websocket example to have 2 message roundtrips. 2012-09-20 13:45:35 +01:00
win32 removed obsolete stuff 2010-09-12 22:08:44 +01:00
LICENSE license added 2010-09-06 22:04:28 +01:00
main.c added comment in mongoose_callback 2012-09-17 23:35:11 +01:00
Makefile Minor change for the win32 build 2012-09-20 14:55:09 +01:00
mongoose.1 removed -max_request_size option 2012-09-19 20:17:49 +01:00
mongoose.c Marking WRITE end of a pipe as closed in handle_cgi_request() 2012-09-20 17:22:22 +01:00
mongoose.h Experimentl websocket support 2012-09-19 12:23:54 +01:00
README.md Cosmetic changes 2012-09-20 14:17:28 +01:00

Overview

Mongoose is easy to use web server. It also can be used as embedded web server library to provide web interface to applications.

Mongoose executable does not depend on any external library or configuration. If it is copied to any directory and launched from there, it starts to serve that directory on port 8080 (so to access files, go to http://localhost:8080). If some additional config is required - for example, different listening port or IP-based access control, then a mongoose.conf file with respective options can be created in the same directory where executable lives. This makes Mongoose perfect for all sorts of demos, quick tests, file sharing, and Web programming.

Features

  • Crossplatform - works on Windows, MacOS and most flavors of UNIX
  • CGI, SSL, SSI, Digest (MD5) authorization, Websocket, WEbDAV support
  • Resumed download, URL rewrite support
  • IP-based ACL, Windows service, GET, POST, HEAD, PUT, DELETE methods
  • Small footprint: executable size is 40 kB on Linux 2.6 i386 system
  • Embeddable with simple and clean 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
  • Python and C# bindings

Mailing list

You can read it online, subscribe to, or send a message at mongoose-users.

Keep Sergey happy

I have a books wishlist on Amazon. If you feel brave, you can buy me a book!