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.
This commit is contained in:
teor 2017-03-01 16:22:37 +11:00
parent efa5bbaba0
commit 9340035873
No known key found for this signature in database
GPG Key ID: 450CBA7F968F094B

View File

@ -1543,10 +1543,6 @@ typedef struct or_connection_t {
* NETINFO cell listed the address we're connected to as recognized. */ * NETINFO cell listed the address we're connected to as recognized. */
unsigned int is_canonical:1; 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. */ /** True iff this is an outgoing connection. */
unsigned int is_outgoing:1; unsigned int is_outgoing:1;
unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */ unsigned int proxy_type:2; /**< One of PROXY_NONE...PROXY_SOCKS5 */