Mongoose 6.4 发布了,Mongoose Web Server是一款易于使用的Web服务器,它可以嵌入到其它应用程序中,为其提供Web接口。主要特性: 跨平台,支持 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 授权协议 一些新特性以及新增API: Multipart upload streaming - a way to process multipart requests (like file uploads) without fully buffering them mg_register_http_endpoint - an easy to use way to handle requests to specific URIs mg_parse_uri - a new function to parse URIs, used internally and available publicly mg_bind_opt and mg_connect_opt now take SSL-related options mg_connect_http_opt and mg_connect_ws_opt API calls have been added, with SSL-related options initially Support for TI CC3200 and MSP432; For both Mongoose now has example CCS projects that can be imported and used right away (CC3200, MSP432). Bug 修复: A number of fixes in handling of UDP, added an example. Fix MQTT parsing of nullary commands. Adjust poll timeout if there are pending timers. 下载地址: Source code (zip) Source code (tar.gz) Mongoose 6.4 发布,新增 API 下载地址