1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes/core
Nick O'Leary 79aeeea640 Handle duplicate PUBREL
Fixes #138

If the connection to a broker is lost mid qos 2 flow, there is a window where we have processed the PUBREL, released the message and deleted it from our store, but not sent the PUBCOMP. When the connection is re-established, and the PUBREL is resent by the broker, we assume the message still exists - and hit the error reported.

The fix is to check the message is valid before trying to process it. We send the PUBCOMP to complete the flow regardless.
2014-01-13 11:32:16 +00:00
..
analysis Slight tweak to sentiment info to reflect reality. 2013-11-21 17:14:05 +00:00
core Add newline when wrapping function to allow comments 2013-12-22 22:22:47 +00:00
deprecated Move all nodes into core subdirectory 2013-11-14 15:52:19 +00:00
hardware Move all nodes into core subdirectory 2013-11-14 15:52:19 +00:00
io Handle duplicate PUBREL 2014-01-13 11:32:16 +00:00
logic Tidying up the Change node after a lot of churn 2013-12-24 23:16:36 +00:00
social Add invite event to irc node 2014-01-03 10:57:49 +00:00
storage Move all nodes into core subdirectory 2013-11-14 15:52:19 +00:00