mirror of https://github.com/node-red/node-red.git
TCP node- when resetting, if no payload, stay disconnected
parent
d94d13737f
commit
3ded9de803
|
@ -582,6 +582,7 @@ module.exports = function(RED) {
|
|||
const cc = Object.keys(clients).length;
|
||||
node.status({fill:"green",shape:cc===0?"ring":"dot",text:RED._("tcpin.status.connections",{count:cc})});
|
||||
if ((host === undefined || port === undefined) && !msg.hasOwnProperty("payload")) { return; }
|
||||
if (!msg.hasOwnProperty("payload")) { return; }
|
||||
}
|
||||
|
||||
// Store client information independently
|
||||
|
|
Loading…
Reference in New Issue