Skip to content

Tags: MTIConnect/paho.mqtt.golang

Tags

v1.1.0

Toggle v1.1.0's commit message
Remove a deadlock when no pingresp

There was a deadlock situation when we didn't receive an expected pingresp, keepalive() called internalConnLost() synchronously, that waits for all workers to exit before it returns, but keepalive() is one of those workers...
Also there was an issue when returning from keepalive() that we'd call the waitgroup broadcasts before c.stop had been closed, causing them to fall through and then get stuck at the Wait(), which would cause keepalive() not to finish returning and call workers.Done(), etc... locked again. Changed this to use a pingstop channel for the timer reset go funcs that is closed at the beginning of the exit func for keepalive() ensuring the following broadcasts will cause them all to exit properly.
resolve#129

v1.0.0

Toggle v1.0.0's commit message
New Test for CleanSession

v0.9.1

Toggle v0.9.1's commit message
Merge wasn't completely successful

v0.9.0

Toggle v0.9.0's commit message
Merge branch 'develop'

Conflicts:
	state.go