wolfSSL / wolfMQTT

wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
https://www.wolfssl.com
GNU General Public License v2.0
522 stars 156 forks source link

Fix to allow a duplicate ping #364

Closed dgarske closed 11 months ago

dgarske commented 11 months ago

Fix to allow a duplicate ping response request, since it does not have a packet id. Resolves issue with sending two ping's before response has arrived causing second ping to return -1 (bad arg) due to already being in pending response list. Applies to multi-thread / non-blocking use case only. ZD 16876