Crash by using mqtt and websocket connection with same ID
Bug #1378400 reported by
Eduard Neufeld
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mosquitto |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
mosquitto 1.4 broker crash by connecting on it with one mqtt client eg. mosquitto_sub and one websocket client eg. hivemq online client, both clients must have same id. Mosquitto wil try to reuse old connection (read_handle_
To post a comment you must log in.
Thanks for reporting this.
The reusing of connections should work, the problem is that the old client is being freed twice. It's a tricky area, I'm going to look at changing the way it works to simplify it.