[tor-commits] [tor/master] Remove the unused field or_connection_t.is_connection_with_client
nickm at torproject.org
nickm at torproject.org
Tue May 2 23:28:07 UTC 2017
commit 934003587305dcfb2cbc7f01e7248e3bd378317b
Author: teor <teor2345 at gmail.com>
Date: Wed Mar 1 16:22:37 2017 +1100
Remove the unused field or_connection_t.is_connection_with_client
To discover if a connection is from a tor client, use:
channel_is_client(TLS_CHAN_TO_BASE(or_connection_t.chan))
Part of 21406.
---
src/or/or.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/or/or.h b/src/or/or.h
index 0db9f23..a1a0bd4 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1543,10 +1543,6 @@ typedef struct or_connection_t {
* NETINFO cell listed the address we're connected to as recognized. */
unsigned int is_canonical:1;
- /** True iff we have decided that the other end of this connection
- * is a client. Connections with this flag set should never be used
- * to satisfy an EXTEND request. */
- unsigned int is_connection_with_client:1;
/** True iff this is an outgoing connection. */
unsigned int is_outgoing:1;
unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */
More information about the tor-commits
mailing list