- client: add "dont_contact_ref_site" config flag;

suppresses connectivity-testing connections to google.com

svn path=/trunk/boinc/; revision=13125
This commit is contained in:
David Anderson 2007-07-09 16:00:10 +00:00
parent 6e8089b170
commit a81b825643
4 changed files with 11 additions and 2 deletions

View File

@ -7105,10 +7105,16 @@ David 7 July 2007
filesys.C
Janus 8 July 2007
- Fixed an issue causing people to appear anonymous in the top hosts pages on
projects with no automatic MySQL connection set up.
- Fixed an issue causing people to appear anonymous in the top hosts
pages on projects with no automatic MySQL connection set up.
html/user/
top_hosts.php
David 9 July 2007
- client: add "dont_contact_ref_site" config flag;
suppresses connectivity-testing connections to google.com
client/
log_flags.C,h
net_stats.C

View File

@ -219,6 +219,7 @@ int CONFIG::parse_options(XML_PARSER& xp) {
if (xp.parse_bool(tag, "os_random_only", os_random_only)) continue;
if (xp.parse_bool(tag, "no_alt_platform", no_alt_platform)) continue;
if (xp.parse_bool(tag, "simple_gui_only", simple_gui_only)) continue;
if (xp.parse_bool(tag, "dont_contact_ref_site", dont_contact_ref_site)) continue;
msg_printf(NULL, MSG_USER_ERROR, "Unparsed tag in %s: <%s>\n",
CONFIG_FILE, tag
);

View File

@ -93,6 +93,7 @@ struct CONFIG {
bool os_random_only;
bool no_alt_platform;
bool simple_gui_only;
bool dont_contact_ref_site;
CONFIG();
void defaults();

View File

@ -218,6 +218,7 @@ void NET_STATUS::got_http_error() {
&& gstate.now > gstate.last_wakeup_time + 30
// for 30 seconds after wakeup, the network system (DNS etc.)
// may still be coming up, so don't worry for now
&& !config.dont_contact_ref_site
) {
if (log_flags.network_status_debug) {
msg_printf(0, MSG_INFO,