Chromium Code Reviews
Description[net/dns] Watch configd notifications to detect DnsConfig changes on Mac.
libresolv communicates with configd via the BSD libnotify mechanism. Using the
same interface, DnsConfigService can receive signal at the exact moment new
configuration is available to libresolv, then read it using res_ninit.
BUG=121126
TEST=Manually poke at system configuration while DnsConfigService is running.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132698
Patch Set 1 #Patch Set 2 : Delinted. #Patch Set 3 : Added comments. #
Total comments: 27
Patch Set 4 : After review. #
Total comments: 7
Patch Set 5 : After more review. #Patch Set 6 : Fixed missing ':'. #
Messages
Total messages: 11 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||