[jitsi-dev] Changes to SIP DNS resolution


#1

Hey

As part of the DNSSEC preparations I refactored/rewrote the lookups of DNS records for the SIP protocol. It now follows the scheme
foreach(Method in LookupMethods){
    IPs = lookup(Method)
    foreach(IP in IPs){
        tryConnect(IP)
        break on success;
    }
}

It probably makes not much sense to look at the individual patches as they were preparatory work for #9, the big one. It's a pretty large change in general... :frowning:
Damian already took the time to review off-list (thanks!), and we think it should be good to go. But some more agreement before I commit it would still be fine :slight_smile:

Regards,
Ingo

sipresolve.zip (449 KB)