Commit graph

7 commits

Author SHA1 Message Date
d15fd9971c Split XMPPSRVEnumerator into XMPPSRVLookup and XMPPSRVEnumerator. 2011-05-26 22:23:02 +02:00
1337fdded1 Shorten -[XMPPSRVEnumerator XMPP_addEntry:]. 2011-05-26 18:52:27 +02:00
53a2499381 Fix accumulatedWeight and iterate priorities in the right order. 2011-05-26 18:38:37 +02:00
9fd6e76322 Get rid of an unnecessary loop.
The loop is not required as we recalculate each entry's
accumulatedWeight on each call, thus there is always an entry that will
be found for the random number.
2011-05-26 00:41:26 +02:00
a04917a128 Correctly handle an empty priority list.
It should not exist, but this is no reason to not terminate.
2011-05-26 00:13:51 +02:00
18ec0d947b Fix XMPPSRVEnumerator by rewriting almost all of it. 2011-05-26 00:08:56 +02:00
Florian Zeitz
dd4022b99c Add support for SRV records 2011-05-24 03:01:47 +02:00