Overview
This release adds fixes and improvements, and more examples.
Important Changes
- Improved TLS handling
- Fixed IP checksum calculation in 8-bit architectures
- Fixed ARP lookup sudden timeouts
- Fixed built-in TLS not triggering the
MG_EV_TLS_HS
event MG_IO_SIZE
now defaults to 512 on embedded platforms, increasing performance- Mongoose built-in TCP/IP stack now has drivers for Pico-SDK Wi-Fi
- Added driver for PPP, Mongoose can now also run on cellphone modules
- Added support for Pico 2 W
- Added support for Wiznet's W5100
Minor changes
- Improved HTTP error handling and version checking
- Improved random number generation in Windows
- Renamed field
priv
instruct mg_mgr
toifp
. This field now has an explicitstruct mg_tcpip_if *
type and so fields within the built-in TCP/IP stack interface struct can now be accessed directly, e.g.:mgr->ifp->ip
for the IP address. As a consequence, removed the recently added macroMG_TCPIP_IFACE(mgr)
, as it is no longer needed - Improved built-in TCP connection closure timing, improving performance and RAM usage on repeated connection scenarios
- Improved built-in TLS server RSA certificate handling
- Added more embedded examples
- Added bare metal support for the Raspberry Pi Pico 2 W
- Raspberry Pi Pico-SDK examples updated for compatibility with version 2.0.0
- Added a PPP example with an Arduino as an MQTT client using a SIM800 cell modem
- More examples now default to using our built-in TLS, without preventing the use of other choices
- Changed more embedded examples to make use of our Wizard
- Continued reformatting the examples section
- Improved built-in TLS testing
- Improved test coverage
- Started adding (experimental) support for NXP's RW612