diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-05 23:40:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-05 23:40:59 +0000 |
commit | 6e6cbaad958ec4472daebfe0c922946bdd3a560b (patch) | |
tree | 8b9dd00e645f1bef2d27d2626823dabe2faa49d6 /src | |
parent | 077f133257f81b80ba2729057815efef8dff1cfe (diff) | |
download | tor-6e6cbaad958ec4472daebfe0c922946bdd3a560b.tar.gz tor-6e6cbaad958ec4472daebfe0c922946bdd3a560b.zip |
fix the bob-can't-decode-relays bug
now alice can send the begin and bob can receive it.
svn:r1499
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendclient.c | 1 | ||||
-rw-r--r-- | src/or/rendservice.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index af4edde2cf..66c6363a3a 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -197,6 +197,7 @@ rend_client_receive_rendezvous(circuit_t *circ, const char *request, int request /* All is well. Extend the circuit. */ circ->purpose = CIRCUIT_PURPOSE_C_REND_JOINED; + hop->state = CPATH_STATE_OPEN; onion_append_to_cpath(&circ->cpath, hop); circ->build_state->pending_final_cpath = NULL; /* prevent double-free */ diff --git a/src/or/rendservice.c b/src/or/rendservice.c index ae6b97ca0a..5fc5c0eee0 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -581,6 +581,7 @@ rend_service_rendezvous_is_ready(circuit_t *circuit) } /* Append the cpath entry. */ + hop->state = CPATH_STATE_OPEN; onion_append_to_cpath(&circuit->cpath, hop); circuit->build_state->pending_final_cpath = NULL; /* prevent double-free */ |