KEMBAR78
Let msg.reset reset Tcp request node connection when in stay connected mode by dceejay · Pull Request #4406 · node-red/node-red · GitHub
Skip to content

Conversation

dceejay
Copy link
Member

@dceejay dceejay commented Nov 1, 2023

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This PR lets msg.reset = true; (boolean) reset the tcp-request node when it is set to remain connected. This allows the user to "kick" the connection if required so it forces a reconnect - or also allows them to send msg.host and/or msg.port to connect to a different server instead.

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

don't send if payload not defined.
now handles reply out node,
and can specify which connection to reset.
@knolleary knolleary merged commit 5b5b06c into dev Nov 7, 2023
@dceejay dceejay deleted the tcp-request-node-reset-when-in-stay-connected-mode branch March 18, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants