Fix fallback to A/AAAA in case of missing SRV
This commit is contained in:
parent
f84d541eae
commit
c49e9a7375
1 changed files with 2 additions and 7 deletions
|
@ -302,13 +302,8 @@
|
||||||
{
|
{
|
||||||
OFMutableArray *records = [OFMutableArray array];
|
OFMutableArray *records = [OFMutableArray array];
|
||||||
|
|
||||||
if (exception != nil) {
|
if (exception != nil)
|
||||||
[_delegates
|
response = nil;
|
||||||
broadcastSelector: @selector(connection:didThrowException:)
|
|
||||||
withObject: self
|
|
||||||
withObject: exception];
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (OFDNSResourceRecord *record in
|
for (OFDNSResourceRecord *record in
|
||||||
[response.answerRecords objectForKey: domainName])
|
[response.answerRecords objectForKey: domainName])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue