Chromium Code Reviews| Index: net/dns/dns_config_service_posix.cc |
| diff --git a/net/dns/dns_config_service_posix.cc b/net/dns/dns_config_service_posix.cc |
| index ea51915c76613e4a6346461630188d12a9fbe1ee..5fe2d4d6d17c6182db99e8bcd8e942dbeced9e3f 100644 |
| --- a/net/dns/dns_config_service_posix.cc |
| +++ b/net/dns/dns_config_service_posix.cc |
| @@ -58,6 +58,8 @@ ConfigParsePosixResult ReadDnsConfig(DnsConfig* config) { |
| res_nclose(&res); |
| #endif |
| #endif |
| + // Override timeout value to match default setting on Windows. |
| + config->timeout = base::TimeDelta::FromSeconds(1); |
|
cbentzel
2012/08/09 20:29:08
min of timeout and 1 second?
Could 1s move to a c
szym
2012/08/09 20:59:29
Done. Another option is to completely remove the c
|
| return result; |
| } |