summaryrefslogtreecommitdiff
path: root/src/or/channel.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-18 12:28:30 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-18 12:31:06 -0400
commitbb9b4c37f8e7f5cf78918f382e90d8b11ff42551 (patch)
treea54f4514708bad9d4364a2773b6c829dbd3b7972 /src/or/channel.h
parentf3c20a28ab50386064043cc31edb3b1b543d6fc6 (diff)
downloadtor-bb9b4c37f8e7f5cf78918f382e90d8b11ff42551.tar.gz
tor-bb9b4c37f8e7f5cf78918f382e90d8b11ff42551.zip
Supply better and less frequent warnings on circID exhaustion
Fixes the surface behavior of #11553
Diffstat (limited to 'src/or/channel.h')
-rw-r--r--src/or/channel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h
index 2dca81705f..29ba40e326 100644
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@ -148,6 +148,8 @@ struct channel_s {
ENUM_BF(circ_id_type_t) circ_id_type:2;
/** DOCDOC*/
unsigned wide_circ_ids:1;
+ /** Have we logged a warning about circID exhaustion on this channel? */
+ unsigned warned_circ_ids_exhausted:1;
/*
* Which circ_id do we try to use next on this connection? This is
* always in the range 0..1<<15-1.