RFC: SRV lookup fixes
Alex Vandiver
alexmv at bestpractical.com
Wed May 26 06:01:02 UTC 2010
These are a series that improves the correctness (fallback to the
correct A record, correct weighting on multiple SRV records), and
refactors to remove duplicated code. This is the basis of the GAFYD fix
(see follow-up message).
- Alex
The following changes since commit 48b2a57cea7208a78de4eb08b852ca37de733759:
Alex Vandiver (1):
Add tests for canonicalizing JID case
are available in the git repository at:
git://github.com/bestpractical/djabberd.git srv-lookup
Alex Vandiver (4):
Refactor resolver to eliminate duplicate code, allow for non A or SRV requests
Move "A" record fallback to calling function, where we have the right hostname value
For debugging, include the domain name which gave the IP in question during DNS lookups
Fix SRV weighting code, and note what the actual FIXME is
lib/DJabberd/DNS.pm | 141 ++++++++++++++++++++++++++++----------------------
1 files changed, 79 insertions(+), 62 deletions(-)
More information about the Djabberd
mailing list