[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r1504: Always fetch cached geoip information immediately and don't (trunk/src/gui/network)
Author: edmanm
Date: 2006-12-08 19:49:51 -0500 (Fri, 08 Dec 2006)
New Revision: 1504
Modified:
trunk/src/gui/network/netviewer.cpp
Log:
Always fetch cached geoip information immediately and don't count it towards
the threshold before we actually send a request.
Modified: trunk/src/gui/network/netviewer.cpp
===================================================================
--- trunk/src/gui/network/netviewer.cpp 2006-12-08 19:30:03 UTC (rev 1503)
+++ trunk/src/gui/network/netviewer.cpp 2006-12-09 00:49:51 UTC (rev 1504)
@@ -364,6 +364,10 @@
NetViewer::resolve()
{
if (!_resolveQueue.isEmpty()) {
+ /* Get geoip information for addresses that are cached. Returns a list of
+ * IP addresses that were not cached. */
+ _resolveQueue = _geoip.resolveFromCache(_resolveQueue);
+
/* Send the request now if either the network map is visible, or the
* request is for more than a quarter of the servers in the list. */
if (isVisible() ||