[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Merge remote-tracking branch 'public/bug11553_024' into bug11553_025
commit bd169aa9a512857fe95fa0cbe44e4e6dbc2c800f
Merge: eb896d5 0d75344
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Apr 18 13:00:45 2014 -0400
Merge remote-tracking branch 'public/bug11553_024' into bug11553_025
Conflicts:
src/or/channel.h
changes/bug11553 | 15 ++++++++++++++
src/or/channel.c | 3 ---
src/or/channel.h | 7 ++-----
src/or/circuitbuild.c | 52 ++++++++++++++++++++++++++++++++++---------------
src/or/connection.c | 2 --
5 files changed, 53 insertions(+), 26 deletions(-)
diff --cc src/or/channel.h
index 7ec222d,e63c949..de19fad
--- a/src/or/channel.h
+++ b/src/or/channel.h
@@@ -146,19 -145,16 +146,16 @@@ struct channel_s
* When we send CREATE cells along this connection, which half of the
* space should we use?
*/
- ENUM_BF(circ_id_type_t) circ_id_type:2;
+ circ_id_type_bitfield_t circ_id_type:2;
/** DOCDOC*/
unsigned wide_circ_ids:1;
- /**
- * Which circ_id do we try to use next on this connection? This is
- * always in the range 0..1<<15-1.
- */
- circid_t next_circ_id;
+ /** Have we logged a warning about circID exhaustion on this channel? */
+ unsigned warned_circ_ids_exhausted:1;
- /* For how many circuits are we n_chan? What about p_chan? */
+ /** For how many circuits are we n_chan? What about p_chan? */
unsigned int num_n_circuits, num_p_circuits;
- /*
+ /**
* True iff this channel shouldn't get any new circs attached to it,
* because the connection is too old, or because there's a better one.
* More generally, this flag is used to note an unhealthy connection;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits