web服务器中的Mongoose
-
跨平台,支持 Windows、OS X 和 Linux
-
支持 CGI, SSL, SSI, Digest (MD5) 认证,WebSocket 和 WebDAV
-
支持断点续传和 URL 重写
-
基于 IP 的 ACL,支持 Windows 服务,支持 GET, POST, HEAD, PUT, DELETE 方法
-
Excluding files from serving by URI pattern
-
下载速度限制,基于客户端子网和 URI 模式
-
体积小,可执行文件只有 40k 左右
-
可嵌入式,提供简单的 API (mongoose.h). 只需一个源码文件mongoose.c
-
嵌入式实例:hello.c,post.c,upload.c,websocket.c
-
提供 Python 和 C# 版本
-
采用 MIT 授权协议
/*
* Copyright (c) 2004-2013 Sergey Lyubka
* Copyright (c) 2013-2015 Cesanta Software Limited
* All rights reserved
*
* 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
* published by the Free Software Foundation. For the terms of this
* license, see <http://www.gnu.org/licenses/>.
*
* You are free to use this software under the terms of the GNU General
* Public License, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* Alternatively, you can license this software under a commercial
* license, as set out in <https://www.cesanta.com/license>.
*/