- Code: Select all
Index: HostCache.cpp
===================================================================
--- HostCache.cpp (revision 9700)
+++ HostCache.cpp (working copy)
@@ -1639,6 +1639,8 @@
bool CHostCacheHost::CanQuote(const DWORD tNow) const
{
return
+ // We checked this host
+ m_bCheckedLocally &&
// A host isn't dead...
( m_nFailures == 0 ) &&
// ...and host isn't expired...
I hope this little change stop cache pollution with not working hosts.
I think it's important to make this change in the release version.
Надеюсь что это маленькое изменение остановит заражение кеша не работающими хостами.
Я думаю важно это изменение внести в релизную версию.