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
527 stars 156 forks source link

Fix multithread qos > 0 response #231

Closed embhorn closed 3 years ago

embhorn commented 3 years ago

Fix two issues with non-block / multithread:

  1. When receiving a QoS 2 message, the correct responses were not sent (PUBREC / PUBCOMP)
  2. If MQTT_CODE_CONTINUE during MqttClient_Connect, the pending ack was removed from the response list.

Also fixed a build error in multithread.c with --enable-mt --disable-tls

This issue was first reported in ZD12784.