diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-22 00:44:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-22 00:44:07 +0000 |
commit | 6b3f6afb5863e670cf69c1c5219e1177e2ab26b2 (patch) | |
tree | dc522721106de4817b0e9de7554b049e34524b52 /src/or/circuituse.c | |
parent | 213658f117f88eaeb21ffd61451155f451f67604 (diff) | |
download | tor-6b3f6afb5863e670cf69c1c5219e1177e2ab26b2.tar.gz tor-6b3f6afb5863e670cf69c1c5219e1177e2ab26b2.zip |
r8895@Kushana: nickm | 2006-09-21 20:05:11 -0400
Debug client-side reverse dns code.
svn:r8452
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 74e6895946..310e8278fb 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -947,7 +947,8 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn, tor_assert(conn); tor_assert(circp); tor_assert(conn->_base.state == AP_CONN_STATE_CIRCUIT_WAIT); - is_resolve = conn->socks_request->command == SOCKS_COMMAND_RESOLVE; + is_resolve = (conn->socks_request->command == SOCKS_COMMAND_RESOLVE || + conn->socks_request->command == SOCKS_COMMAND_RESOLVE_PTR); need_uptime = smartlist_string_num_isin(get_options()->LongLivedPorts, conn->socks_request->port); |