diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-06-19 16:26:02 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-06-19 16:26:02 +0200 |
commit | f266ecbeec83397acf2dce46feebd6389d896d14 (patch) | |
tree | 7e16e2f267d53c4bc3ba560c1766ab7ad807287f /src/or/connection_edge.c | |
parent | 20883f5e8343039eca08b5e2e66e0d213143e65d (diff) | |
download | tor-f266ecbeec83397acf2dce46feebd6389d896d14.tar.gz tor-f266ecbeec83397acf2dce46feebd6389d896d14.zip |
Better fix for 997.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 9b1f737917..1ef87dbffa 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1683,9 +1683,6 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn, 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? */ -#define NUM_SECONDS_BEFORE_HS_REFETCH (60*15) if (now - entry->received < NUM_SECONDS_BEFORE_HS_REFETCH) { conn->_base.state = AP_CONN_STATE_CIRCUIT_WAIT; log_info(LD_REND, "Descriptor is here and fresh enough. Great."); |