[patch] server status getinfos

Robert Hogan robert at roberthogan.net
Sat Sep 8 18:32:35 UTC 2007


Adds getinfo:

    "status/good-server-descriptor"
    "status/or-reachability-succeeded"
    "status/dir-reachability-succeeded"

and splits out the REACHABILITY_SUCCEEDED event into:

OR_REACHABILITY_SUCCEEDED
DIR_REACHABILITY_SUCCEEDED

This makes sense because it maintains the one-to-one relationship between 
getinfo requests and status-events, getinfo reachability-succeeded would be 
too ambiguous to be useful, and makes writing controllers simpler because it 
is easier to identify the meaning of a status event by the 'action' of *all* 
status events rather than, in special cases, a combination of the action and 
one or more of the arguments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: getinfos.diff
Type: text/x-diff
Size: 5542 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20070908/67b3dc56/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20070908/67b3dc56/attachment.pgp>


More information about the tor-dev mailing list