diff options
author | teor <teor@torproject.org> | 2020-01-22 09:27:40 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-01-22 09:27:40 +1000 |
commit | 08efb28743038894f8ac6f53a7a3dfa5d1bd824a (patch) | |
tree | c15444608a4da3b5e72db95a58f5acb91dd3e9ba /src/feature/dircommon | |
parent | e144134294971f31784220091b3efa7cedfa3cd0 (diff) | |
download | tor-08efb28743038894f8ac6f53a7a3dfa5d1bd824a.tar.gz tor-08efb28743038894f8ac6f53a7a3dfa5d1bd824a.zip |
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.
Diffstat (limited to 'src/feature/dircommon')
-rw-r--r-- | src/feature/dircommon/dir_connection_st.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/dircommon/dir_connection_st.h b/src/feature/dircommon/dir_connection_st.h index 2c68e61845..12230e6741 100644 --- a/src/feature/dircommon/dir_connection_st.h +++ b/src/feature/dircommon/dir_connection_st.h @@ -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? */ |