7.8
版本发布时间: 2022-08-28 21:42:14
cesanta/mongoose最新发布版本:7.15(2024-08-21 20:35:41)
- Introduced
c->is_resp
flag for the server-side HTTP connections, for correctly handling pipelined requests that can span several event handler invocations - Enhancements to the MIP TCP/IP stack. The baremetal nucleo-f746 example works with device dashboard: HTTP UI, MQTT, Websocket
- Reduced default
MG_HTTP_MAX_HEADERS
from 40 to 30 to reduce embedded stack usage - Added server and client native JSON-RPC support, see https://mongoose.ws/documentation/#rpc
- Enhanced example/device-dashboard to show real time graph, MQTT communication and user authentication
- Added a large number of new tutorials, enhanced existing ones, and added videos: https://mongoose.ws/tutorials/
- Enhanced illustrations in API reference, e.g. https://mongoose.ws/documentation/#mg_http_reply
- Add an ability to specify
MG_ARCH
inmongoose_custom.h
- Introduced
mg_*xprintf
formatting functions, https://mongoose.ws/documentation/#mg_xprintf-mg_vxprintf - Changed logging to use
mg_pfn_t
primitive - Added tests for large WS frames
- Added unit tests for auto-gzipped static content
- Enhanced SNTP time calculation, made it more accurate
- Refactored
MG_EV_HTTP_CHUNK
handling, made it more robust and resilient - Added epoll support for linux targets
- Changed
mg_log_set(level)
: debuglevel
is now anint
, notconst char *
- Made fixes for poll() support, added poll() support for Windows, made it default to avoid
FD_SETSIZE
restrictions - Added initial support for RP2040
- Exported MQTT result code definitions
- Added MQTT5 support
- Added native JSON API. Now external JSON libraries are not required: https://mongoose.ws/documentation/#json
- Added examples/uart-bridge, examples/sntp-time-sync, and many others
- Added automatic PUBACK responses for MQTT qos > 0
- Added
mg_ws_printf()
- Implemented automatic pre-compressed
.gz
handling for static files - Added
mg_http_serve_opts::page404
for custom 404 handling - Added udp/tcp flag for
mg_mkpipe()