mirror von https://github.com/civetweb/civetweb.git

Sergey Lyubka a866f4e174 Cosmetic changes il y a 13 ans
bindings 0e0091e1c0 Changing API: callback doesnt get mg_request_info pointer anymore, but it is possible to get it using mg_get_request_info() il y a 13 ans
examples 5d27766424 Added comment on the websocket example page il y a 13 ans
test 98fb44f836 Refactored data buffering. Updated websocket example to have 2 message roundtrips. il y a 13 ans
win32 8853d320fe removed obsolete stuff il y a 15 ans
LICENSE abbf27338e license added il y a 15 ans
Makefile 5d11901af8 compile with MinGW 4.7 il y a 13 ans
README.md a866f4e174 Cosmetic changes il y a 13 ans
main.c d9ab7af8b4 added comment in mongoose_callback il y a 13 ans
mongoose.1 edffc46b98 removed -max_request_size option il y a 13 ans
mongoose.c 98fb44f836 Refactored data buffering. Updated websocket example to have 2 message roundtrips. il y a 13 ans
mongoose.h f9873eb87a Experimentl websocket support il y a 13 ans

README.md

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. Source is in single mongoose.c file to make things easy.
  • 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!