Browse Source

r17985@catbus: nickm | 2008-02-08 16:30:02 -0500
Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure.


svn:r13431

Nick Mathewson 18 years ago
parent
commit
a378bb5f5a
2 changed files with 4 additions and 0 deletions
  1. 3 0
      ChangeLog
  2. 1 0
      src/or/circuituse.c

+ 3 - 0
ChangeLog

@@ -61,6 +61,9 @@ Changes in version 0.2.0.19-alpha - 2008-02-??
       script, on fedora or redhat machines. Bugfix on 0.2.0.x.
     - Do not become confused when receiving a spurious VERSIONS-like
       cell from a confused v1 client.  Bugfix on 0.2.0.x.
+    - Re-fetch v2 (as well as v0) rend descriptors when all intro points for
+      a hidden service have failed.  Patch from Karsten Loesing.  Bugfix on
+      0.2.0.x.
 
   o Code simplifications and refactoring:
     - Remove some needless generality from cpuworker code, for improved

+ 1 - 0
src/or/circuituse.c

@@ -1027,6 +1027,7 @@ circuit_get_open_circ_or_launch(edge_connection_t *conn,
                  "No intro points for '%s': refetching service descriptor.",
                  safe_str(conn->rend_query));
         rend_client_refetch_renddesc(conn->rend_query);
+        rend_client_refetch_v2_renddesc(conn->rend_query);
         conn->_base.state = AP_CONN_STATE_RENDDESC_WAIT;
         return 0;
       }