diff options
author | Roger Dingledine <arma@torproject.org> | 2008-04-15 23:06:31 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-04-15 23:06:31 +0000 |
commit | 20f927c2dd62c6a2f3767fdcd570c6b0b85d374a (patch) | |
tree | eecaf467194ba04d4f4c2e6d5ea025d8b017065e /src | |
parent | 133aeafb292cf55271f04041f0cba386e931c61e (diff) | |
download | tor-20f927c2dd62c6a2f3767fdcd570c6b0b85d374a.tar.gz tor-20f927c2dd62c6a2f3767fdcd570c6b0b85d374a.zip |
forward-port r14373
svn:r14374
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 0665d0178e..a8e4f057e5 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -485,7 +485,9 @@ connection_about_to_close_connection(connection_t *conn) * retry as needed. (If a fetch is successful, the connection state * is changed to DIR_PURPOSE_HAS_FETCHED_RENDDESC to mark that * refetching is unnecessary.) */ - if (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2) + if (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2 && + dir_conn->rend_query && + strlen(dir_conn->rend_query) == REND_SERVICE_ID_LEN_BASE32) rend_client_refetch_v2_renddesc(dir_conn->rend_query); break; case CONN_TYPE_OR: |