eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

When a client reconnects it don't receive queued messages #12

Open ralight opened 8 years ago

ralight commented 8 years ago

migrated from Bugzilla #430788 status UNCONFIRMED severity normal in component RSMB for --- Reported in version unspecified on platform PC Assigned to: Ian Craggs

Original attachment names and IDs:

On 2014-03-20 08:24:30 -0400, Daniel Nascimento wrote:

Steps to reproduce: 1- Connects a MQTT-SN client and subscribe in a topic 2- Disconnect it 3- Post some messages in the topic that the client was subcribed 4- Reconnect the client

After applying the patch for bug # 430733 and # 430737 the RSMB will queue messages for the client, but it don't deliver them.

On 2014-03-20 08:25:24 -0400, Daniel Nascimento wrote:

Created attachment 241054 Fix the rule to determine a pre existing client

On 2014-03-20 08:27:15 -0400, Daniel Nascimento wrote:

Created attachment 241055 Remove a rule restricting the deliver for a client if a outbound greater than zero

I didn't understand this rule so I don't know commenting it is the right fix.

On 2014-03-20 09:29:51 -0400, Daniel Nascimento wrote:

If the broker is running with "persistence true" these patches won't fix the problem.