]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
use only 0.0.9pre1 and later servers for resolve cells
authorRoger Dingledine <arma@torproject.org>
Sun, 3 Oct 2004 19:39:29 +0000 (19:39 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 3 Oct 2004 19:39:29 +0000 (19:39 +0000)
svn:r2416

src/or/circuituse.c

index 19b9213eef23164cdd053bbcd6022fb186d7c327..e52835ef0393558cc13cc97982bcad7275bebc63 100644 (file)
@@ -77,9 +77,8 @@ static int circuit_is_acceptable(circuit_t *circ,
     if (conn->socks_request &&
         conn->socks_request->command == SOCKS_COMMAND_RESOLVE) {
       /* 0.0.7 servers and earlier don't support DNS resolution.  0.0.8 servers
-       * have buggy resolve support. Once there are more 0.0.9 servers, change
-       * this to 0.0.9pre1. XXX */
-      if (!tor_version_as_new_as(exitrouter->platform, "0.0.8"))
+       * have buggy resolve support. */
+      if (!tor_version_as_new_as(exitrouter->platform, "0.0.9pre1"))
         return 0;
     } else if(purpose == CIRCUIT_PURPOSE_C_GENERAL) {
       if(!connection_ap_can_use_exit(conn, exitrouter)) {