dir_connection_t: Explain dirconn_direct better

Direct connections can use a DirPort or ORPort.
Indirect connections must use a multi-hop Tor circuit.

Comment-only changes.
This commit is contained in:
teor 2020-01-22 09:27:40 +10:00
parent e144134294
commit 08efb28743
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -28,7 +28,9 @@ struct dir_connection_t {
* fingerprints.
**/
char *requested_resource;
unsigned int dirconn_direct:1; /**< Is this dirconn direct, or via Tor? */
/** Is this dirconn direct, or via a multi-hop Tor circuit?
* Direct connections can use the DirPort, or BEGINDIR over the ORPort. */
unsigned int dirconn_direct:1;
/** If we're fetching descriptors, what router purpose shall we assign
* to them? */