summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-28 23:37:45 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-28 23:37:45 -0400
commitf3e8bc391a681ee5e0db1c0cd3796e901ea49846 (patch)
tree72feb8f5f034f2e93682c6ad14a05551afa5ed84 /src/or/connection_edge.c
parent8d1fe502842a01063027a8dc2a4cb1326be8805a (diff)
downloadtor-f3e8bc391a681ee5e0db1c0cd3796e901ea49846.tar.gz
tor-f3e8bc391a681ee5e0db1c0cd3796e901ea49846.zip
Remove the has_old_dnsworkers flag.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 8a48d3d239..9627631ad9 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2937,11 +2937,6 @@ connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit,
* addresses with this port. Since the user didn't ask for
* this node, err on the side of caution. */
} else if (SOCKS_COMMAND_IS_RESOLVE(conn->socks_request->command)) {
- /* Can't support reverse lookups without eventdns. */
- if (conn->socks_request->command == SOCKS_COMMAND_RESOLVE_PTR &&
- exit->has_old_dnsworkers)
- return 0;
-
/* Don't send DNS requests to non-exit servers by default. */
if (!conn->chosen_exit_name && policy_is_reject_star(exit->exit_policy))
return 0;