tuanpmt / esp_mqtt

MQTT client library for ESP8266
http://tuanpm.net/post/esp_mqtt/
MIT License
1.14k stars 400 forks source link

Fix: multiple mqtt packages in the same tcp package can couse watchdog reset #167

Closed st0ff3r closed 4 years ago

st0ff3r commented 4 years ago

mqtt_tcpclient_recv() can exceed the 15 mS time limit for a function and couse watchdog reset.

proposed fixed by processing multiple mqtt packages in same tcp packet via MQTT_Task()

The comment in the code suggests this was the original idea

st0ff3r commented 4 years ago

didn't work as expected