diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-06-11 11:57:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-06-11 11:57:56 -0400 |
commit | 3a2e25969fbb7bf38fcfafce676e7f56a1aca118 (patch) | |
tree | 39d1fc39c7a66bfe63a777c0b4d752a6dc56bcaa /src/or/connection.c | |
parent | 7f3563058d6b9215fe93116a71db9573e790e017 (diff) | |
parent | bbb8f12ee4efd6f1c2bc8b34dfaf50e314863476 (diff) | |
download | tor-3a2e25969fbb7bf38fcfafce676e7f56a1aca118.tar.gz tor-3a2e25969fbb7bf38fcfafce676e7f56a1aca118.zip |
Merge remote-tracking branch 'public/ticket6799_024_v2_squashed'
Conflicts:
src/or/channel.c
src/or/circuitlist.c
src/or/connection.c
Conflicts involved removal of next_circ_id and addition of
unusable-circid tracking.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index cef9172ff1..0b03092f7f 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -269,8 +269,6 @@ dir_connection_new(int socket_family) /** Allocate and return a new or_connection_t, initialized as by * connection_init(). * - * Set timestamp_last_added_nonpadding to now. - * * Initialize active_circuit_pqueue. * * Set active_circuit_pqueue_last_recalibrated to current cell_ewma tick. @@ -283,7 +281,7 @@ or_connection_new(int type, int socket_family) tor_assert(type == CONN_TYPE_OR || type == CONN_TYPE_EXT_OR); connection_init(now, TO_CONN(or_conn), type, socket_family); - or_conn->timestamp_last_added_nonpadding = time(NULL); + connection_or_set_canonical(or_conn, 0); if (type == CONN_TYPE_EXT_OR) connection_or_set_ext_or_identifier(or_conn); |