Browse Source

minor cleanups

svn:r10050
Roger Dingledine 18 years ago
parent
commit
2d56d883c2

+ 3 - 0
doc/TODO

@@ -410,6 +410,9 @@ R - add d64 and fp64 along-side d and fp so people can paste status
 
 
 
 
 Future version:
 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
   - we try to build 4 test circuits to break them over different
     servers. but sometimes our entry node is the same for multiple
     servers. but sometimes our entry node is the same for multiple
     test circuits. this defeats the point.
     test circuits. this defeats the point.

+ 3 - 2
doc/spec/proposals/000-index.txt

@@ -30,5 +30,6 @@ Proposals by number:
 109  No more than one server per IP address [ACCEPTED]
 109  No more than one server per IP address [ACCEPTED]
 110  Avoiding infinite length circuits [OPEN]
 110  Avoiding infinite length circuits [OPEN]
 111  Prioritizing local traffic over relayed traffic [OPEN]
 111  Prioritizing local traffic over relayed traffic [OPEN]
-112  Bring Back Patlen Coin Weight [OPEN]
+112  Bring Back Pathlen Coin Weight [OPEN]
-113  Simplifying directory authority administration [OPEN]
+113  Simplifying directory authority administration [OPEN]
+

+ 2 - 2
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 "fingerprint" field is generated based on the identity key, not
       the signing key.
       the signing key.
 
 
-  Consensus network statues change as follows:
+  Consensus network statuses change as follows:
 
 
       Remove dir-signing-key.
       Remove dir-signing-key.
 
 
@@ -152,4 +152,4 @@ Extensions to Proposal 101.
 
 
   Verification:
   Verification:
 
 
-      [XXXX write me]
+      [XXXX write me]

+ 1 - 0
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
   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
   list that's only for dealing with problems that need prompt action, like
   marking a router as !badexit.
   marking a router as !badexit.
+

+ 3 - 3
src/or/or.h

@@ -801,10 +801,10 @@ typedef struct connection_t {
   struct connection_t *linked_conn;
   struct connection_t *linked_conn;
   /* XXXX020 NM move these up to the other 1-bit flags. */
   /* 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. */
   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;
   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;
   unsigned int writing_to_linked_conn:1;
   /** True iff we're currently able to read on the linked conn, and our
   /** True iff we're currently able to read on the linked conn, and our
    * read_event should be made active with libevent. */
    * read_event should be made active with libevent. */

+ 0 - 1
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. */
   /* Maybe we haven't called init_cell_pool yet; need to check for it. */
   if (cell_pool) {
   if (cell_pool) {
-    tor_assert(cell_pool);
     mp_pool_destroy(cell_pool);
     mp_pool_destroy(cell_pool);
     cell_pool = NULL;
     cell_pool = NULL;
   }
   }