diff options
author | Roger Dingledine <arma@torproject.org> | 2009-09-15 06:33:33 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2009-09-15 06:33:33 -0400 |
commit | c43859c5c12361fad50580cd76f6484dfaa6b88d (patch) | |
tree | 51b9a69d25e6c9923452aee270518de554968098 /src/or/rendservice.c | |
parent | 40bcab1faf26dd26de48b5ea6c1846c562a11f9d (diff) | |
download | tor-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/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 7a970e490d..1beebd2ed6 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1477,7 +1477,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); |