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

[IMPROVED] URL parsing allowing to skip scheme and default port #381

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

kozlovic
Copy link
Member

With this change, you could pass URL "host" and it will translate
to "nats://host:4222". Also, if attempting to connect to a server
that requires TLS, the Secure option will be automatically turned
on and an attempt to make a secure connection will be made.

Signed-off-by: Ivan Kozlovic [email protected]

With this change, you could pass URL "host" and it will translate
to "nats://host:4222". Also, if attempting to connect to a server
that requires TLS, the Secure option will be automatically turned
on and an attempt to make a secure connection will be made.

Signed-off-by: Ivan Kozlovic <[email protected]>
@kozlovic kozlovic requested a review from derekcollison August 13, 2018 23:48
@kozlovic
Copy link
Member Author

@derekcollison Not sure if this is exactly what you had in mind.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 94.114% when pulling ea8e897 on improve_url_parsing into 097d796 on master.

Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants