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

Fix ipv6 handling #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chaturvedi-kna
Copy link

PR Description:

Description

This PR addresses the issue of improperly formatted IPv6 addresses in the connection strings. The existing configuration did not handle IPv6 addresses correctly, which leads to connection failures.

Changes Made

  1. IPv6 Handling:

    • Added the processConnectionString function to check and enclose IPv6 addresses in [] brackets if necessary.
    • Ensured that the function does not alter the format of IPv4 addresses.
    • Handled both connection strings with credentials (amqp://user:pass@host:port) and without credentials (amqp://host:port).
  2. Configuration Updates:

    • Updated the configuration options in the main setup to use the processConnectionString function before parsing the connection strings.

Please review the changes and provide feedback.

@chaturvedi-kna
Copy link
Author

I haven't done any testing on this after changes

@chaturvedi-kna
Copy link
Author

Hello Guys,

Can someone provide any insights whether the modification was wrong or is this not the correct repo or something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants