aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-10-14 17:07:32 -0400
committerRoger Dingledine <arma@torproject.org>2009-10-14 17:07:32 -0400
commit23943364263b8cb38e81a63715f872691269d5ed (patch)
tree263f2411ed01a8f25307a33b00197141657f0f3e /src/or/rendclient.c
parent83c3f118db0ae3911ea72403856df9fb08b2d0e5 (diff)
downloadtor-23943364263b8cb38e81a63715f872691269d5ed.tar.gz
tor-23943364263b8cb38e81a63715f872691269d5ed.zip
read the "circwindow" parameter from the consensus
backport of c43859c5c12361fad505 backport of 0d13e0ed145f4c1b5bd1
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 13e43c87b7..47a8818a50 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -703,7 +703,7 @@ rend_client_receive_rendezvous(origin_circuit_t *circ, const char *request,
/* set the windows to default. these are the windows
* that alice thinks bob has.
*/
- hop->package_window = CIRCWINDOW_START;
+ hop->package_window = circuit_initial_package_window();
hop->deliver_window = CIRCWINDOW_START;
onion_append_to_cpath(&circ->cpath, hop);