summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-06-19 16:26:02 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-06-19 16:26:02 +0200
commitf266ecbeec83397acf2dce46feebd6389d896d14 (patch)
tree7e16e2f267d53c4bc3ba560c1766ab7ad807287f /src/or/or.h
parent20883f5e8343039eca08b5e2e66e0d213143e65d (diff)
downloadtor-f266ecbeec83397acf2dce46feebd6389d896d14.tar.gz
tor-f266ecbeec83397acf2dce46feebd6389d896d14.zip
Better fix for 997.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 330b2ecbe7..f84485f2f4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -636,6 +636,10 @@ typedef enum {
/** Length of a binary-encoded rendezvous service ID. */
#define REND_SERVICE_ID_LEN 10
+/** How long after we receive a hidden service descriptor do we consider
+ * it fresh? */
+#define NUM_SECONDS_BEFORE_HS_REFETCH (60*15)
+
/** Time period for which a v2 descriptor will be valid. */
#define REND_TIME_PERIOD_V2_DESC_VALIDITY (24*60*60)