Ticket #18620: control-spec.diff

File control-spec.diff, 897 bytes (added by str4d, 3 years ago)

Patch to add HSFORGET command to control-spec.txt

  • control-spec.txt

    diff --git a/control-spec.txt b/control-spec.txt
    index a3c1647..d3f174c 100644
    a b  
    14611461
    14621462  [HSPOST was added in Tor 0.2.7.1-alpha]
    14631463
     14643.26. HSFORGET
     1465
     1466  The syntax is:
     1467    "HSFORGET" SP HSAddress CRLF
     1468
     1469    HSAddress = 16*Base32Character
     1470
     1471  This command clears any cached client state relating to the the given
     1472  HSAddress. It can be used to flush state that is likely to be stale before
     1473  trying to connect to a hidden service via an unstable network connection
     1474  (such as a mobile data connection).
     1475
     1476  If the HSAddress is invalid, a 513 error is returned and the command is
     1477  stopped. On success, Tor replies with "250 OK".
     1478
     1479  Example:
     1480     C: HSFORGET ajkhdsfuygaesfaa
     1481     S: 250 OK
     1482
     1483  [HSFORGET was added in Tor 0.2.XXX]
     1484
    146414854. Replies
    14651486
    14661487  Reply codes follow the same 3-character format as used by SMTP, with the