Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let msg.reset reset Tcp request node connection when in stay connected mode #4406

Merged
merged 4 commits into from Nov 7, 2023

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
4 checks passed
@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.

None yet

2 participants