shoenig / go-mqtt

A development fork of the Eclipse Paho Go MQTT client
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.golang.git/
Eclipse Public License 1.0
13 stars 6 forks source link

Do not start keeplive goroutine if Keep Alive Timer is zero #9

Closed shoenig closed 10 years ago

shoenig commented 10 years ago

There is no need to send ping requests in this case. A value of zero (0) means the client is not disconnected.

alsm commented 10 years ago

Fixed in commit ef3ba31