diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-06 21:25:11 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-06 21:25:11 +0000 |
commit | d473cf7ee93bd191d22c387cfbcf1f1db651dd8f (patch) | |
tree | c3b6d8e6e3795aea17b6eb8130fe6533880dd175 /src/or/rendclient.c | |
parent | 8b371c2aa536c30926bcf48e1ff2a756e139a08d (diff) | |
download | tor-d473cf7ee93bd191d22c387cfbcf1f1db651dd8f.tar.gz tor-d473cf7ee93bd191d22c387cfbcf1f1db651dd8f.zip |
set the circ windows on the middle hop of the rend circs
svn:r1511
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 470f30d77e..f3a98fb1f8 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -210,6 +210,12 @@ 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; + /* set the windows to default. these are the windows + * that alice thinks bob has. + */ + hop->package_window = CIRCWINDOW_START; + hop->deliver_window = CIRCWINDOW_START; + onion_append_to_cpath(&circ->cpath, hop); circ->build_state->pending_final_cpath = NULL; /* prevent double-free */ |