From bb9b4c37f8e7f5cf78918f382e90d8b11ff42551 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 18 Apr 2014 12:28:30 -0400 Subject: Supply better and less frequent warnings on circID exhaustion Fixes the surface behavior of #11553 --- src/or/channel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/channel.h') 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. -- cgit v1.2.3-54-g00ecf