Преглед на файлове

r16550@catbus: nickm | 2007-11-07 16:50:02 -0500
"And $499 for knowing where to hit it." Fix bug 546.


svn:r12425

Nick Mathewson преди 18 години
родител
ревизия
d279fb82e2
променени са 3 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 2 0
      ChangeLog
  2. 3 0
      doc/TODO
  3. 1 1
      src/or/directory.c

+ 2 - 0
ChangeLog

@@ -40,6 +40,8 @@ Changes in version 0.2.0.10-alpha - 2007-11-07
     - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
     - Avoid sending a request for "keys/fp" (for which we'll get a 400 Bad
       Request) if we need more v3 certs but we've already got pending
       Request) if we need more v3 certs but we've already got pending
       requests for all of them.
       requests for all of them.
+    - Correctly back off from failing certificate downloads.  Fixes bug
+      546.
 
 
   o New requirements:
   o New requirements:
     - Drop support for OpenSSL version 0.9.6. Just about nobody was using
     - Drop support for OpenSSL version 0.9.6. Just about nobody was using

+ 3 - 0
doc/TODO

@@ -23,6 +23,9 @@ Items blocking 0.2.0.10-alpha:
     in 0.2.1.x.
     in 0.2.1.x.
   - Should we ship with a fallback-consensus? Where in the tarball does
   - Should we ship with a fallback-consensus? Where in the tarball does
     it go? What's the process for choosing it?
     it go? What's the process for choosing it?
+    - We can, but we don't have to now.  Stick it in place of the
+      empty fallback-consensus file in src/config if you like.
+    - To choose, just grab the most recent consensus you have.
   - If 1.5*MaxCircuitDirtiness is more than KeepAlive, do we then send
   - If 1.5*MaxCircuitDirtiness is more than KeepAlive, do we then send
     a KeepAlive and reset our timeout, thus never reaching 1.5*MCD?
     a KeepAlive and reset our timeout, thus never reaching 1.5*MCD?
   - "When reporting clock skew, and we only have a lower bound on
   - "When reporting clock skew, and we only have a lower bound on

+ 1 - 1
src/or/directory.c

@@ -595,7 +595,7 @@ connection_dir_download_cert_failed(dir_connection_t *conn, int status)
   if (!conn->requested_resource)
   if (!conn->requested_resource)
     return;
     return;
   failed = smartlist_create();
   failed = smartlist_create();
-  dir_split_resource_into_fingerprints(conn->requested_resource,
+  dir_split_resource_into_fingerprints(conn->requested_resource+3,
                                        failed, NULL, 1, 0);
                                        failed, NULL, 1, 0);
   SMARTLIST_FOREACH(failed, char *, cp,
   SMARTLIST_FOREACH(failed, char *, cp,
   {
   {