[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Add REPLICA field to HS_DESC CREATED event



commit 4989e737225f61c6d93e8db1348b27bfc05d2f7e
Author: Donncha O'Cearbhaill <donncha@xxxxxxxxxx>
Date:   Tue Aug 4 15:29:42 2015 +0200

    Add REPLICA field to HS_DESC CREATED event
---
 control-spec.txt |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/control-spec.txt b/control-spec.txt
index 2f7bb64..9ccaad9 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -2740,7 +2740,7 @@
   The syntax is:
 
     "650" SP "HS_DESC" SP Action SP HSAddress SP AuthType SP HsDir
-             [SP DescriptorID] [SP "REASON=" Reason]
+             [SP DescriptorID] [SP "REASON=" Reason] [SP "REPLICA=" Replica]
 
     Action =  "REQUESTED" / "UPLOAD" / "RECEIVED" / "UPLOADED" / "IGNORE" /
               "FAILED" / "CREATED"
@@ -2774,6 +2774,9 @@
        - "NOT_FOUND" - HS descriptor with given identifier was not found.
        - "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.
+
 4.1.26. HiddenService descriptors content
 
   The syntax is:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits