Skip to content

Bugfix/improvement release

Compare
Choose a tag to compare
@vveljko vveljko released this 03 Mar 12:03
· 5 commits to master since this release

There was a bug in PubSubClient::stop() - a surplus call to
input_state(). Also, it now waits for data shorter, not the usual
"full (default) time" . This time is not yet user settable.

Since ESP8266 can, in some weird and as-of-yet-unexplained situations,
take a long time (hours, even) to change the state of the
WiFiClient to "not connected" after a stop(), we no longer await
this disconnection "forever". There is now a timeout (for now, not
user-settable) and we give up after a short while. This might lead to
some (probably temporary) leaks, but, we haven't run into problems in
our testing.