From 2d56d883c2fc047fe30c4841651f106fdc16a5d7 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 30 Apr 2007 04:00:06 +0000 Subject: [PATCH] minor cleanups svn:r10050 --- doc/TODO | 3 +++ doc/spec/proposals/000-index.txt | 5 +++-- doc/spec/proposals/103-multilevel-keys.txt | 4 ++-- doc/spec/proposals/113-fast-authority-interface.txt | 1 + src/or/or.h | 6 +++--- src/or/relay.c | 1 - 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/TODO b/doc/TODO index 1732ebe6c9..3fb212ba48 100644 --- a/doc/TODO +++ b/doc/TODO @@ -410,6 +410,9 @@ R - add d64 and fp64 along-side d and fp so people can paste status Future version: + - servers might check certs for known-good ssl websites, and if they + come back self-signed, declare themselves to be non-exits. similar + to how we test for broken/evil dns now. - we try to build 4 test circuits to break them over different servers. but sometimes our entry node is the same for multiple test circuits. this defeats the point. diff --git a/doc/spec/proposals/000-index.txt b/doc/spec/proposals/000-index.txt index ca0586a986..afdd2f4058 100644 --- a/doc/spec/proposals/000-index.txt +++ b/doc/spec/proposals/000-index.txt @@ -30,5 +30,6 @@ Proposals by number: 109 No more than one server per IP address [ACCEPTED] 110 Avoiding infinite length circuits [OPEN] 111 Prioritizing local traffic over relayed traffic [OPEN] -112 Bring Back Patlen Coin Weight [OPEN] -113 Simplifying directory authority administration [OPEN] \ No newline at end of file +112 Bring Back Pathlen Coin Weight [OPEN] +113 Simplifying directory authority administration [OPEN] + diff --git a/doc/spec/proposals/103-multilevel-keys.txt b/doc/spec/proposals/103-multilevel-keys.txt index 474d3f2250..3f6668f264 100644 --- a/doc/spec/proposals/103-multilevel-keys.txt +++ b/doc/spec/proposals/103-multilevel-keys.txt @@ -132,7 +132,7 @@ Extensions to Proposal 101. The "fingerprint" field is generated based on the identity key, not the signing key. - Consensus network statues change as follows: + Consensus network statuses change as follows: Remove dir-signing-key. @@ -152,4 +152,4 @@ Extensions to Proposal 101. Verification: - [XXXX write me] \ No newline at end of file + [XXXX write me] diff --git a/doc/spec/proposals/113-fast-authority-interface.txt b/doc/spec/proposals/113-fast-authority-interface.txt index 49829086e7..13dd4f82ca 100644 --- a/doc/spec/proposals/113-fast-authority-interface.txt +++ b/doc/spec/proposals/113-fast-authority-interface.txt @@ -78,3 +78,4 @@ Possible solution #4: A separate mailing list for authority operators. Right now, the tor-ops list is very high volume. There should be another list that's only for dealing with problems that need prompt action, like marking a router as !badexit. + diff --git a/src/or/or.h b/src/or/or.h index ed89e5cc88..32b7288357 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -801,10 +801,10 @@ typedef struct connection_t { struct connection_t *linked_conn; /* XXXX020 NM move these up to the other 1-bit flags. */ unsigned int linked:1; /**< True if there is, or has been, a linked_conn. */ - /** True iff we'd like to be notified about read events from the linked conn. - */ + /** True iff we'd like to be notified about read events from the + * linked conn. */ unsigned int reading_from_linked_conn:1; - /** True iff we're willing to write to the linked conn. */ + /** True iff we're willing to write to the linked conn. */ unsigned int writing_to_linked_conn:1; /** True iff we're currently able to read on the linked conn, and our * read_event should be made active with libevent. */ diff --git a/src/or/relay.c b/src/or/relay.c index a2058690d4..514f6210c0 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1497,7 +1497,6 @@ free_cell_pool(void) { /* Maybe we haven't called init_cell_pool yet; need to check for it. */ if (cell_pool) { - tor_assert(cell_pool); mp_pool_destroy(cell_pool); cell_pool = NULL; }