summaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-03-01 16:23:02 +1100
committerNick Mathewson <nickm@torproject.org>2017-05-02 19:17:56 -0400
commitf9af7e8bd01d4b7a70776a96c649a89cf1717dd1 (patch)
tree078668eb76ebfb84846a752633f4f6b5cc4c6f5b /src/or/channel.h
parent934003587305dcfb2cbc7f01e7248e3bd378317b (diff)
downloadtor-f9af7e8bd01d4b7a70776a96c649a89cf1717dd1.tar.gz
tor-f9af7e8bd01d4b7a70776a96c649a89cf1717dd1.zip
Accurately identify client connections by their lack of peer authentication
This means that we bail out earlier if asked to extend to a client. Follow-up to 21407. Fixes bug 21406; bugfix on 0.2.4.23.
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index 26aa93b5e2..748a0991fc 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -214,8 +214,8 @@ struct channel_s {
unsigned int is_bad_for_new_circs:1;
/** True iff we have decided that the other end of this connection
- * is a client. Channels with this flag set should never be used
- * to satisfy an EXTEND request. */
+ * is a client or bridge relay. Connections with this flag set should never
+ * be used to satisfy an EXTEND request. */
unsigned int is_client:1;
/** Set if the channel was initiated remotely (came from a listener) */