6.2
版本发布时间: 2016-01-12 16:58:09
cesanta/mongoose最新发布版本:7.15(2024-08-21 20:35:41)
What's new in the Mongoose Library
- WebDAV support improvements. With a just a couple of lines of code your web server is ready to serve WebDAV and can be mounted as a network drive in very different clients, like Finder on MacOS, Explorer on Windows and Nemo, Nautilus (and others) on Linux. Just add
dav_document_root
to initialization parameters and your are ready to go. See simplest_web_server example. - Timer support. Mongoose 6.2 introduces new event -
MG_EV_TIMER
. With event and new API functionmg_set_timer
things like connection timeout (and a lot of another timeout-related features) can be easily implemented. Callmg_set_timer(my_connection, time(NULL) + N)
and my_connection will receive MG_EV_TIMER once N seconds is elapsed. Sub-second precision is also supported, and themg_time
function which returns current time as a fraction floating point value has been added. See API documentation for more details.
Other changes:
-
MG_EV_CLOSE
is now always delivered before connection is destroyed. This should simplify cleanup. - New API function:
mg_url_decode
to decode URL-encoded string. - g++ and Microsoft Visual Studio support was improved
1、 mongoose-6.2.zip 1.9MB
2、 mongoose-lite-6.2.zip 1.87MB
3、 mongoose-premium-6.2.zip 1.91MB