Mgr: Reset Internet timeout when retrying notices

This commit is contained in:
Charlie Fenton 2012-12-22 06:37:49 -08:00 committed by Oliver Bock
parent 9254469110
commit 658910faca
2 changed files with 10 additions and 2 deletions

View File

@ -7859,8 +7859,10 @@ David 21 Dec 2012
Charlie 22 Dec 2012
- Mgr: When removing entries from our hash table, delete data to avoid memory
leaks.
-Mgr: Allow existing to retrieve images or other items from the Internet even
if network activity is suspended. (But client won't get new notices.)
- Mgr: Allow existing notices to retrieve images or other items from the
Internet even if network activity is suspended. (But client won't get
new notices.)
- Mgr: Reset Internet timeout when retrying notices.
clientgui/
BOINCInternetFSHandler.cpp

View File

@ -606,12 +606,18 @@ void CBOINCInternetFSHandler::UnchacheMissingItems() {
}
}
m_bMissingItems = false;
#ifdef __WXMSW__
dInternetTimeout = STANDARD_INTERNET_TIMEOUT;
#endif
}
void CBOINCInternetFSHandler::ClearCache() {
WX_CLEAR_HASH_TABLE(*m_Hash);
m_bMissingItems = false;
#ifdef __WXMSW__
dInternetTimeout = STANDARD_INTERNET_TIMEOUT;
#endif
}