1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes
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
..
core Handle duplicate PUBREL 2014-01-13 11:32:16 +00:00
99-sample.html.demo update sample node to reflect better way to close nodes. 2013-10-10 15:36:23 +01:00
99-sample.js.demo update sample to use environment variable for path to RED. 2013-10-28 09:59:36 +00:00