v1.26
Firmware
- Allow use of GPIO9 and 10 on ESP8285
- Allow up to 10Mbit UART speeds on ESP32
- Fix OOB access in mg_match_prefix_n().
- Show stringified event number in debug
- Make AWS init less noisy
- Implement the Bluetooth current time service (https://github.com/mongoose-os-libs/bt-service-time)
- Add
mgos_dash_callf_noreply()
API to dash library - Make
mgos_rlock_*
functions public - Fix
make debug_coredump
for esp32 and esp8266
mJS:
- Fix stack underflow on an empty block
- fix a bug which could cause string data corruption in certain circumstances
- Fix a few modulo-related issues
- Handle the wrong return expression properly
- Fix handling of invalid JSON strings
- Fix JSON parsing which leads to string buffer reallocaction
Mongoose Web Server:
- Fix socket leak when there are too many open file descriptors
- Fix publish-subscribe example
- Fix mg_parse_multipart in case of malformed request
- Websocket: Respond to Ping with Pong
- Websocket: Properly close a connection with Close frame (in response to a client's close and when protocol failure is detected)
- Websocket: Fix support of fragmented messages
- Websocket: Add support for control frames interjected in the middle of a fragmented message
- Digest authentication: Fix nonce validity check (expired nonce or nonce from the future did not cause the the check to fail)
- Digest authentication: Fix nonce request value; it worked before because nonce validity check was broken as well
- Digest authentication: Add
nonce
argument tomg_http_create_digest_auth_header()
: clients should use the value received from the server's authentication request. - Fail if passed a NULL handler to
mg_bind
ormg_bind_opt
. - Publish sources and tests
- Remove tunneling functionality which was used by nobody
- Add UDP client example
- Don't use user_data in mqtt server
- Deprecate
mg_http_parse_header()
and implementmg_http_parse_header2()
instead, which allocates a new buffer if the client-provided one is not large enough (similarly toasprintf
). - Fix limitations of header value lengths, e.g. when parsing authentication headers such as nonce, etc.
mos tool:
- The mos tool is factored out from the mongoose-os repo to a separate repo https://github.com/cesanta/mos-tool, see its release notes there: https://github.com/cesanta/mos-tool/releases/tag/1.26