A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
Apache License 2.0
703
stars
256
forks
source link
fix: fix memory leak during network disconnect #82
断网期间,n->socket无效,导致network内存资源一直无法释放,一旦重连又会申请新的network资源,所以每次断网都会产生一次内存泄漏。