adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
573 stars 291 forks source link

Packet zero length protection #116

Closed bsvi closed 6 years ago

bsvi commented 6 years ago

Client hangs when server returns zero-length packet. Pull request simply adds protective if.

brentru commented 6 years ago

@bsvi Thanks for the pull request, adding a measure against that in: https://github.com/adafruit/Adafruit_MQTT_Library/pull/127