use only 0.0.9pre1 and later servers for resolve cells

svn:r2416
This commit is contained in:
Roger Dingledine 2004-10-03 19:39:29 +00:00
parent c205ad05ba
commit 980b6169eb

View 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)) {