summaryrefslogtreecommitdiff
path: root/src/or/rendservice.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/rendservice.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/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 3144ef2f04..d2868b738d 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1556,7 +1556,7 @@ rend_service_rendezvous_has_opened(origin_circuit_t *circuit)
/* set the windows to default. these are the windows
* that bob thinks alice has.
*/
- hop->package_window = CIRCWINDOW_START;
+ hop->package_window = circuit_initial_package_window();
hop->deliver_window = CIRCWINDOW_START;
onion_append_to_cpath(&circuit->cpath, hop);