diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-05-03 00:09:18 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-04 13:46:30 -0400 |
commit | f79688ddef0e4d4abd5e92afbb11c5ee9864056d (patch) | |
tree | 35828d6c8dcf4f45dc4ae786702138e7adb86a10 /src/or/connection_edge.c | |
parent | 0d68da2381780e2f8010b52a9e062947554699d5 (diff) | |
download | tor-f79688ddef0e4d4abd5e92afbb11c5ee9864056d.tar.gz tor-f79688ddef0e4d4abd5e92afbb11c5ee9864056d.zip |
Clients do not request version 0 hidserv descs anymore.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index b350c08d29..f4585d89a9 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1675,12 +1675,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn, conn->_base.state = AP_CONN_STATE_RENDDESC_WAIT; log_info(LD_REND, "Unknown descriptor %s. Fetching.", safe_str(conn->rend_data->onion_address)); - /* Fetch both, v0 and v2 rend descriptors in parallel. Use whichever - * arrives first. Exception: When using client authorization, only - * fetch v2 descriptors.*/ rend_client_refetch_v2_renddesc(conn->rend_data); - if (conn->rend_data->auth_type == REND_NO_AUTH) - rend_client_refetch_renddesc(conn->rend_data->onion_address); } else { /* r > 0 */ /** How long after we receive a hidden service descriptor do we consider * it valid? */ @@ -1697,12 +1692,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn, conn->_base.state = AP_CONN_STATE_RENDDESC_WAIT; log_info(LD_REND, "Stale descriptor %s. Refetching.", safe_str(conn->rend_data->onion_address)); - /* Fetch both, v0 and v2 rend descriptors in parallel. Use whichever - * arrives first. Exception: When using client authorization, only - * fetch v2 descriptors.*/ rend_client_refetch_v2_renddesc(conn->rend_data); - if (conn->rend_data->auth_type == REND_NO_AUTH) - rend_client_refetch_renddesc(conn->rend_data->onion_address); } } return 0; |