Embedded Web Server
Go to file
Dinis Rosário 3bd79c7cd5 Fix remove_double_dots_and_double_slashes removing all the dots leading http server to serve wrong URI
If the uri is something like '/js/...jquery.js', remove_double_dots_and_double_slashes will remove the 3 dots and the http server will serves the /js/jquery.js file.
remove_double_dots_and_double_slashes should check if a dot or double dots is followed by a slash (or backslash) and only remove this to avoid disclosure attack.
2015-03-17 16:04:59 +01:00
docs Added mg_websocket_printf() 2015-03-05 10:54:51 +00:00
examples Merge pull request #456 from sebgod/fix-win32-examples-using-extra 2015-03-17 11:45:36 +00:00
jni Fixed Android build 2014-11-12 22:16:32 +00:00
scripts Moved examples/mkdata.pl -> scripts/embed_binary_files.pl 2014-09-09 18:11:57 +01:00
test Fix remove_double_dots_and_double_slashes removing all the dots leading http server to serve wrong URI 2015-03-17 16:04:59 +01:00
LICENSE Updated years 2015-01-19 18:25:14 +00:00
mongoose.c Fix remove_double_dots_and_double_slashes removing all the dots leading http server to serve wrong URI 2015-03-17 16:04:59 +01:00
mongoose.h Compile fix 2015-03-13 20:15:19 +01:00
README.md net skeleton -> fossa 2015-01-28 12:33:48 +00:00

Mongoose Web Server

Mongoose is the most easy to use web server on the planet. A web server of choice for Web developers (PHP, Ruby, Python, etc) and Web designers.

Mongoose is built on top of Libmongoose embedded library, which can turn anything into a web server in 5 minutes worth of effort and few lines of code. Libmongoose is used to serve Web GUI on embedded devices, implement RESTful services, RPC frameworks (e.g. JSON-RPC), handle telemetry data exchange, and perform many other tasks in various different industries including aerospace, manufacturing, finance, research, automotive, gaming, IT.

Check out Fossa - our embedded multi-protocol library with TCP,UDP,HTTP,Websocket,MQTT,DNS support, designed for Internet Of Things!

Features

  • Works on Windows, Mac, UNIX/Linux, iPhone, Android eCos, QNX and many other platforms
  • CGI, SSI, SSL, Digest auth, Websocket, WEbDAV, Resumed download, URL rewrite, file blacklist
  • Custom error pages, Virtual hosts, IP-based ACL, Windows service, HTTP/HTTPS client
  • Simple and clean embedding API. The source is in single mongoose.c file to make embedding easy
  • Extremely lightweight, has a core of under 40kB and tiny runtime footprint
  • Asynchronous, non-blocking core supporting single- or multi-threaded usage
  • On the market since 2004 with over 1 million cumulative downloads
  • Stable, mature and tested, has several man-years invested in continuous improvement and refinement

Screenshots

Download, double-click to start, run browser -- that's all!

shot1 shot2

shot3 shot4

Acknowledgements

Mongoose made better thanks to the contribution of following people:

Arnout Vandecappelle, Benoît Amiaux, Boris Pek, Cody Hanson, Colin Leitner, Daniel Oaks, Eric Bakan, Erik Oomen, Filipp Kovalev, Ger Hobbelt, Hendrik Polczynski, Igor Okulist, Jay, Joe Mucchiello, John Safranek, José Miguel Gonçalves, Shueng Chuan, Katerina Blinova, Konstantin Sorokin, Marin Atanasov, Matt Healy, Mitch Hendrickson, Nigel Stewart, Pavel Khlebovich, Sebastian Reinhard, Stefan Doehla, abadc0de, nullable.type, T.Barmann, D.Hughes, J.C.Sloan, R.Romeo, L.E.Spencer, S.Kotay, R.M.Shorter, W.Mar, J.Wilander, Santa from Memphis, S.Davies, C.Beck, O.M.Vilhunen, C.Radik, G.Woodcock, M.Szczepkowski, Eternal Lands Dev Team, T.Tollet, C.Tangerino, G.Karsai, A.Bourgett, C.Blakemore, D.Fonaryov, T.Andrle, O.IJsselmuiden, R.Womack, M.Tomlinson, A.Slåttå, L.Farrell, J.D.P.Ballestero, V.Albaev, B.Harker, T.Scheffel, H.Klein, R.Merit, T.Bennett, H.Solis, A.Zincenko, M.S., S.Krul, K.Cooke, S.McCallum, F.Morenius, and 10 others.

Licensing

Mongoose is released under commercial and GNU GPL v.2 open source licenses. The GPLv2 open source License does not generally permit incorporating this software into non-open source programs. For those customers who do not wish to comply with the GPLv2 open source license requirements, Cesanta Software offers a full, royalty-free commercial license and professional support without any of the GPL restrictions.

Other products by Cesanta Software: simple and effective

  • Fossa - Multi-protocol networking library
  • SSL Wrapper - application to secure network communications
  • Frozen - JSON parser and generator
  • SLRE - Super Light Regular Expression library