[or-cvs] r14376: backport r14375 (in tor/branches/tor-0_1_2-patches: . src/or)

arma at seul.org arma at seul.org
Wed Apr 16 00:08:21 UTC 2008


Author: arma
Date: 2008-04-15 20:08:20 -0400 (Tue, 15 Apr 2008)
New Revision: 14376

Modified:
   tor/branches/tor-0_1_2-patches/ChangeLog
   tor/branches/tor-0_1_2-patches/src/or/directory.c
Log:
backport r14375


Modified: tor/branches/tor-0_1_2-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_1_2-patches/ChangeLog	2008-04-16 00:07:18 UTC (rev 14375)
+++ tor/branches/tor-0_1_2-patches/ChangeLog	2008-04-16 00:08:20 UTC (rev 14376)
@@ -23,7 +23,11 @@
     - Fix a pointer error that kept us from reporting nameserver errors.
     - On Windows, correctly detect errors when listing the contents of a
       directory.  Fix from lodger.
+    - Fix a dumb bug that was preventing us from knowing that we should
+      preemptively build circuits to handle expected directory requests.
+      Fixes bug 660.
 
+
 Changes in version 0.1.2.19 - 2008-01-17
   Tor 0.1.2.19 fixes a huge memory leak on exit relays, makes the default
   exit policy a little bit more conservative so it's safer to run an

Modified: tor/branches/tor-0_1_2-patches/src/or/directory.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/directory.c	2008-04-16 00:07:18 UTC (rev 14375)
+++ tor/branches/tor-0_1_2-patches/src/or/directory.c	2008-04-16 00:08:20 UTC (rev 14376)
@@ -457,7 +457,7 @@
      */
 
     if (private_connection)
-      rep_hist_note_used_port(time(NULL), conn->_base.port);
+      rep_hist_note_used_port(conn->_base.port, time(NULL));
 
     conn->dirconn_direct = 0;
     conn->_base.s =



More information about the tor-commits mailing list