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

xmpp.go: Be more permissive when doing the initial SRV request. #1

Closed
wants to merge 1 commit into from

Conversation

sahib
Copy link

@sahib sahib commented Oct 28, 2015

Some jabber servers use subdomains like jabber.nullcat.de. I think it's valid
when only the top-level domain (nullcat.de) would have an SRV record, but not
the full one. This leads to a failure in xmpp.NewClient().

This patch goes over the domain and shortens it on each retry.

Review on Reviewable

Some jabber servers use subdomains like `jabber.nullcat.de`.  I think it's valid
when only the top-level domain (nullcat.de) would have an SRV record, but not
the full one. This leads to a failure in xmpp.NewClient().

This patch goes over the domain and shortens it on each retry.
@sahib sahib closed this May 28, 2020
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

1 participant