mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Mongoose rebrand changes
PUBLISHED_FROM=50497043e8d0c10487804263cdcb1cbb260d5a26
This commit is contained in:
parent
e1dd3f06fe
commit
8a66ff5278
54
README.md
54
README.md
@ -1,30 +1,27 @@
|
|||||||
# <img src="http://www.cesanta.com/hubfs/www.cesanta.com/Images/mongoose_library.png" width="64" height="64"> Mongoose Embedded Web Server
|
# <img src="http://www.cesanta.com/hubfs/www.cesanta.com/Images/mongoose_library.png" width="64" height="64"> Mongoose - Embedded Web Server
|
||||||
|
|
||||||
[![Join the chat at https://gitter.im/cesanta/mongoose](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cesanta/mongoose?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/cesanta/mongoose](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cesanta/mongoose?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
![](https://img.shields.io/badge/license-GPL_2-green.svg "License")
|
![](https://img.shields.io/badge/license-GPL_2-green.svg "License")
|
||||||
|
|
||||||
[Mongoose](https://www.cesanta.com/mongoose) is a
|
|
||||||
multi-protocol networking library written in C.
|
Mongoose is ideal for embedded environments, it has been designed as an open
|
||||||
|
source platform for connecting devices and bringing them online.
|
||||||
|
[Mongoose](https://www.cesanta.com/products)
|
||||||
|
has been on the market since 2004 and attracted
|
||||||
|
over 1 million cumulative downloads.
|
||||||
|
|
||||||
It provides easy to use event-driven interface that allows to implement
|
It provides easy to use event-driven interface that allows to implement
|
||||||
network protocols or scalable network applications with little effort.
|
network protocols or scalable network applications with little effort.
|
||||||
Mongoose helps developers to manage the complexity of network programming
|
Mongoose helps developers to manage the complexity of network programming
|
||||||
and let them concentrate on the logic, saving time and money.
|
and let them concentrate on the logic, saving time and money.
|
||||||
|
|
||||||
Mongoose has built-in support for several protocols, like
|
|
||||||
HTTP, Websocket, MQTT, mDNS. Example applications include
|
|
||||||
Websocket-based chat server, JSON-RPC server,
|
|
||||||
database server with RESTful API, MQTT broker, netcat with SSL and hexdump,
|
|
||||||
Raspberry PI camera video feed + led control, and more.
|
|
||||||
|
|
||||||
Mongoose is ideal for the embedded environments, it has been designed as
|
|
||||||
an open source platform for connecting devices and bringing them online.
|
|
||||||
|
|
||||||
[Download Mongoose Source Code here](http://hubs.ly/H0150FK0)
|
[Download Mongoose Source Code here](http://hubs.ly/H0150FK0)
|
||||||
|
|
||||||
Are you an embedded developer? Working on an embedded task?
|
> Nothing overdone. Nothing less. So unbelievably easy to use.
|
||||||
Check out our [embedded development products](http://hubs.ly/H0150sY0)
|
> Just how good software should be!
|
||||||
to make the right choice for your project.
|
> - Pritin Tyagaraj, SAP
|
||||||
|
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
@ -54,6 +51,10 @@ go into respective directory and type `make`
|
|||||||
|
|
||||||
# Dashboard Example
|
# Dashboard Example
|
||||||
|
|
||||||
|
Mongoose is often used to implement device dashboards and real-time
|
||||||
|
data exchange over Websocket. Here is a dashboard example that illustrates
|
||||||
|
the functionality:
|
||||||
|
|
||||||
![](http://www.cesanta.com/hubfs/www.cesanta.com/diagrams/dash_mongoose_diagram.png)
|
![](http://www.cesanta.com/hubfs/www.cesanta.com/diagrams/dash_mongoose_diagram.png)
|
||||||
|
|
||||||
[Developing a new product? Contact us today to discuss how Mongoose can help
|
[Developing a new product? Contact us today to discuss how Mongoose can help
|
||||||
@ -62,15 +63,22 @@ go into respective directory and type `make`
|
|||||||
|
|
||||||
# Licensing
|
# Licensing
|
||||||
|
|
||||||
Cesanta made Mongoose open source under GPLv2 for a reason. We are all
|
You are using Mongoose under
|
||||||
developers here and appreciate easy access to code and therefore seamless
|
[GPLv2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
|
||||||
integration. It's great to be able to play around with the software before
|
and until you commercialize your
|
||||||
committing to it.
|
application, can continue to use Mongoose free of charge.
|
||||||
|
|
||||||
|
Once you commercialize your product, in order to comply with GPLv2
|
||||||
|
you need to either open the source code of your product fully or
|
||||||
|
alternatively purchase a commercial license.
|
||||||
|
We offer [three levels of commercial licensing](https://www.cesanta.com/products):
|
||||||
|
|
||||||
|
- Mongoose Lite: cross platform integration, SSL/TLS, HTTP support
|
||||||
|
- Mongoose: Mongoose Lite + HTTP CGI, HTTP SSI, HTTP Digest Auth,
|
||||||
|
WebSocket support
|
||||||
|
- Mongoose Premium: Mongoose + Plain TCP, UDP, JSON-RPC, MQTT, DNS,
|
||||||
|
CoAP support
|
||||||
|
|
||||||
However, the GPLv2 open source license does not permit incorporating the
|
|
||||||
software into non-open source programs. In order to comply with GPLv2 licensing
|
|
||||||
you need to open the source code of your end product fully or alternatively
|
|
||||||
purchase a commercial license.
|
|
||||||
|
|
||||||
[Enquire about commercial licensing here](https://www.cesanta.com/contact)
|
[Enquire about commercial licensing here](https://www.cesanta.com/contact)
|
||||||
|
|
||||||
|
@ -5389,7 +5389,7 @@ static void prepare_cgi_environment(struct mg_connection *nc, const char *prog,
|
|||||||
}
|
}
|
||||||
addenv(blk, "SERVER_ROOT=%s", opts->document_root);
|
addenv(blk, "SERVER_ROOT=%s", opts->document_root);
|
||||||
addenv(blk, "DOCUMENT_ROOT=%s", opts->document_root);
|
addenv(blk, "DOCUMENT_ROOT=%s", opts->document_root);
|
||||||
addenv(blk, "SERVER_SOFTWARE=%s/%s", "Mongoose", MG_FOSSA_VERSION);
|
addenv(blk, "SERVER_SOFTWARE=%s/%s", "Mongoose", MG_VERSION);
|
||||||
|
|
||||||
/* Prepare the environment block */
|
/* Prepare the environment block */
|
||||||
addenv(blk, "%s", "GATEWAY_INTERFACE=CGI/1.1");
|
addenv(blk, "%s", "GATEWAY_INTERFACE=CGI/1.1");
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
#include "avrsupport.h"
|
#include "avrsupport.h"
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014 Cesanta Software Limited
|
* Copyright (c) 2004-2013 Sergey Lyubka
|
||||||
|
* Copyright (c) 2013-2015 Cesanta Software Limited
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
|
*
|
||||||
* This software is dual-licensed: you can redistribute it and/or modify
|
* This software is dual-licensed: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
* published by the Free Software Foundation. For the terms of this
|
* published by the Free Software Foundation. For the terms of this
|
||||||
@ -18,7 +20,7 @@
|
|||||||
* license, as set out in <https://www.cesanta.com/license>.
|
* license, as set out in <https://www.cesanta.com/license>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MG_FOSSA_VERSION "2.0.0"
|
#define MG_VERSION "6.0"
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2015 Cesanta Software Limited
|
* Copyright (c) 2015 Cesanta Software Limited
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
|
Loading…
x
Reference in New Issue
Block a user