summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-04-16 00:07:18 +0000
committerRoger Dingledine <arma@torproject.org>2008-04-16 00:07:18 +0000
commitfbb0c6eec342e7964c10c1cb7ece8497b6ed940b (patch)
treee5eb9db027ac46e522a98f73b4b0123aa306e90f
parent28c802b5fded71ddbe39be41cdb6e4a94c30f098 (diff)
downloadtor-fbb0c6eec342e7964c10c1cb7ece8497b6ed940b.tar.gz
tor-fbb0c6eec342e7964c10c1cb7ece8497b6ed940b.zip
Fix a dumb bug that was preventing us from knowing that we should
preemptively build circuits to handle expected directory requests. Fixes bug 660. Bugfix on 0.1.2.x. svn:r14375
-rw-r--r--ChangeLog3
-rw-r--r--src/or/directory.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fb1fd5d79a..7651d042de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,9 @@ Changes in version 0.2.0.24-rc - 2008-04-0?
leaks. Bugfix on 0.2.0.19-alpha.
- Free static hashtables for policy maps and for TLS connections on
shutdown, so they don't look like memory leaks. Bugfix on 0.2.0.x.
+ - Fix a dumb bug that was preventing us from knowing that we should
+ preemptively build circuits to handle expected directory requests.
+ Fixes bug 660. Bugfix on 0.1.2.x.
Changes in version 0.2.0.23-rc - 2008-03-24
diff --git a/src/or/directory.c b/src/or/directory.c
index aee76a5b71..dd342bd92b 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -719,7 +719,7 @@ directory_initiate_command(const char *address, uint32_t addr,
if (anonymized_connection && use_begindir)
rep_hist_note_used_internal(time(NULL), 0, 1);
else if (anonymized_connection && !use_begindir)
- rep_hist_note_used_port(time(NULL), conn->_base.port);
+ rep_hist_note_used_port(conn->_base.port, time(NULL));
/* make an AP connection
* populate it and add it at the right state