aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-09-15 06:33:33 -0400
committerRoger Dingledine <arma@torproject.org>2009-09-15 06:33:33 -0400
commitc43859c5c12361fad50580cd76f6484dfaa6b88d (patch)
tree51b9a69d25e6c9923452aee270518de554968098 /src/or/rendclient.c
parent40bcab1faf26dd26de48b5ea6c1846c562a11f9d (diff)
downloadtor-c43859c5c12361fad50580cd76f6484dfaa6b88d.tar.gz
tor-c43859c5c12361fad50580cd76f6484dfaa6b88d.zip
Read "circwindow=x" from the consensus and use it
Tor now reads the "circwindow" parameter out of the consensus, and uses that value for its circuit package window rather than the default of 1000 cells. Begins the implementation of proposal 168.
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 141efdc6a3..fc8d05b6ad 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -644,7 +644,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);