summaryrefslogtreecommitdiff
path: root/src/or/connection_op.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-04-08 22:31:48 +0000
committerRoger Dingledine <arma@torproject.org>2003-04-08 22:31:48 +0000
commit833f165d6898355f402697f591cb6960d5dfba5a (patch)
tree712a47ecca8a9acb9638712850fd32c14dac985f /src/or/connection_op.c
parentc2fa6f5c7d50f467cf2b37a7e95e52e2ce354a6c (diff)
downloadtor-833f165d6898355f402697f591cb6960d5dfba5a.tar.gz
tor-833f165d6898355f402697f591cb6960d5dfba5a.zip
bugfix: make onion proxies actually obey their requested bandwidth
svn:r229
Diffstat (limited to 'src/or/connection_op.c')
-rw-r--r--src/or/connection_op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_op.c b/src/or/connection_op.c
index 5a32c9ef32..3f39e430d1 100644
--- a/src/or/connection_op.c
+++ b/src/or/connection_op.c
@@ -64,6 +64,7 @@ int op_handshake_process_keys(connection_t *conn) {
log(LOG_DEBUG,"Successfully decrypted keys from new OP.");
conn->bandwidth = ntohl(*((uint32_t *)auth_plain));
+ log(LOG_DEBUG,"op_handshake_process_keys(): Bandwidth %d requested.",conn->bandwidth);
crypto_cipher_set_key(conn->b_crypto, auth_plain+4);
crypto_cipher_set_key(conn->f_crypto, auth_plain+20);