[tor-commits] [torspec/master] Clarify Replica field in HS_DESC event
nickm at torproject.org
nickm at torproject.org
Tue Oct 6 14:07:48 UTC 2015
commit 8401f6bc692532a048d42dc48af932d6ea379ea8
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date: Tue Oct 6 15:15:41 2015 +0200
Clarify Replica field in HS_DESC event
Clarify the format of the HS_DESC Replica field and indicate that it is
is defined in rend-spec.txt. Resolves #17226.
---
control-spec.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/control-spec.txt b/control-spec.txt
index ba1831a..4df6a60 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -2751,6 +2751,7 @@
DescriptorID = 32*Base32Character
Reason = "BAD_DESC" / "QUERY_REJECTED" / "UPLOAD_REJECTED" / "NOT_FOUND" /
"UNEXPECTED"
+ Replica = 1*DIGIT
These events will be triggered when required HiddenService descriptor is
not found in the cache and a fetch or upload with the network is performed.
@@ -2776,7 +2777,9 @@
- "UNEXPECTED" - nature of failure is unknown.
If Action is "CREATED", Tor SHOULD send Replica field as well. The Replica
- field contains the replica number of the generated descriptor.
+ field contains the replica number of the generated descriptor. The Replica
+ number is specified in rend-spec.txt section 1.3 and determines the
+ descriptor ID of the descriptor.
4.1.26. HiddenService descriptors content
More information about the tor-commits
mailing list