github cesanta/mongoose 7.21

4 hours ago

Overview

This release adds fixes and improvements, and more examples.

Important Changes

  • Built-in TLS is now able to support RSA signatures
  • Fixed ChaCha to work in big-endian platforms
  • Fixed mg_aton() not setting is_ip6 with scope_ids
  • Fixed checksum generation in big-endian platforms
  • mg_connect() now fast fails if network is down, when using Mongoose built-in TCP/IP stack
  • Improved TCP server local information: c->loc now holds the local address to where the remote client has connected, instead of the address given when opening the listener (usually 0.0.0.0)
  • Added support for DNS-SD using mDNS
  • Added support for Windriver's Diab v4
  • Added support for the RTL8211 PHY
  • Added support for GbE PHYs
  • Added support for MbedTLS 4
  • Added support for Wiznet's W55RP20
  • Added support for the ST67W6 Wi-Fi module
  • Added support for working with DCACHE enabled in STM32H7 and STM32N6 boards
  • Added support for MQTT unsubscribe: mg_mqtt_unsub()
  • Mongoose built-in TCP/IP stack now performs checksum validation
  • Improved handling of PEM certificate files, comments and chained certificates are now supported
  • Fixed a long standing certificate verification failure that caused apparently random verify failures
  • Deprecated MG_ARCH_NEWLIB
  • Introduced a new mDNS API, and added an mDNS client example

Minor changes

  • Added support for no options in DHCP messages
  • Allowed more than one address in received DHCP options. The client still uses the first one, but more than one can be sent by the server
  • Added support for STM32N6 in MG_ARCH_CUBE
  • Mongoose built-in TCP/IP stack now coexists with protocols using TCP reserved space in 'flags'
  • Improved Zephyr support and integration
  • Improved multicast and broadcast handling across all supported TCP/IP stacks
  • Improved handling of HTTP fast closures
  • Improved built-in TCP/IP and TLS compatibility with C89 compilers
  • Added OTA firmware update over MQTT example
  • Added HTTP redirect and singleton client examples
  • Improved handling of malformed MQTT5 properties
  • Added more Wi-Fi security definitions
  • Improved built-in TCP/IP testing
  • Improved built-in TLS testing
  • Improved test coverage

Don't miss a new mongoose release

NewReleases is sending notifications on new releases.