Differences From Artifact [efbcc5cf61]:
- File src/OFDNSResolverSettings.m — part of check-in [1e62dc40eb] at 2023-04-10 18:51:52 on branch trunk — OFDNSResolver: Rename usesTCP -> forcesTCP (user: js, size: 17023) [annotate] [blame] [check-ins using]
To Artifact [179fc83ef4]:
- File
src/OFDNSResolverSettings.m
— part of check-in
[ce2b268163]
at
2023-04-17 11:56:02
on branch trunk
— Always make DNS names lowercase
This avoids problems when comparing them. (user: js, size: 17103) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
290 291 292 293 294 295 296 |
continue;
address = components.firstObject;
hosts = [components objectsInRange:
OFMakeRange(1, components.count - 1)];
for (OFString *host in hosts) {
| | > > | | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 |
continue;
address = components.firstObject;
hosts = [components objectsInRange:
OFMakeRange(1, components.count - 1)];
for (OFString *host in hosts) {
OFMutableArray *addresses;
host = host.lowercaseString;
addresses = [staticHosts objectForKey: host];
if (addresses == nil) {
addresses = [OFMutableArray array];
[staticHosts setObject: addresses forKey: host];
}
[addresses addObject: address];
|
| ︙ | ︙ | |||
498 499 500 501 502 503 504 |
continue;
address = components.firstObject;
hosts = [components objectsInRange:
OFMakeRange(1, components.count - 1)];
for (OFString *host in hosts) {
| | > > | | 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 |
continue;
address = components.firstObject;
hosts = [components objectsInRange:
OFMakeRange(1, components.count - 1)];
for (OFString *host in hosts) {
OFMutableArray *addresses;
host = host.lowercaseString;
addresses = [staticHosts objectForKey: host];
if (addresses == nil) {
addresses = [OFMutableArray array];
[staticHosts setObject: addresses forKey: host];
}
[addresses addObject: address];
|
| ︙ | ︙ |