mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	TCP node- when resetting, if no payload, stay disconnected
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user