r17985@catbus: nickm | 2008-02-08 16:30:02 -0500

Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure.


svn:r13431
This commit is contained in:
Nick Mathewson 2008-02-08 21:30:07 +00:00
parent 141a5877f3
commit a378bb5f5a
2 changed files with 4 additions and 0 deletions

View File

@ -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. script, on fedora or redhat machines. Bugfix on 0.2.0.x.
- Do not become confused when receiving a spurious VERSIONS-like - Do not become confused when receiving a spurious VERSIONS-like
cell from a confused v1 client. Bugfix on 0.2.0.x. 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: o Code simplifications and refactoring:
- Remove some needless generality from cpuworker code, for improved - Remove some needless generality from cpuworker code, for improved

View File

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