I've attempted to recreate this bug but haven't seen it so far. I've
used the python script in the attachment. Could you let me know where
the difference in your test lies?

** Attachment added: "bug-1098537.py"
   
https://bugs.launchpad.net/mosquitto/+bug/1098537/+attachment/3480164/+files/bug-1098537.py

-- 
You received this bug notification because you are a member of Mosquitto
Development, which is subscribed to mosquitto.
https://bugs.launchpad.net/bugs/1098537

Title:
  Subscribe > Unsubscribe > Subscribe with the same connection causes
  all messages to be received twice.

Status in mosquitto: an mqtt message broker:
  New

Bug description:
  Usecase :

  - Connect to the server
  - Subscribe to a topic X
  - Unsubscribe from topic X
  - Subscribe again to topic X
  (Keeping the same connection all along)

  Unexpected result :

  All messages sent to topic X are received twice. If I
  unsubscribe/subscribe again, then I receive all messages 3 times, then
  4 times, 5 times, etc...

  I know that all ACK messages are received well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mosquitto/+bug/1098537/+subscriptions

-- 
Mailing list: https://launchpad.net/~mosquitto-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mosquitto-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to