diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-07 19:14:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-07 19:14:45 +0000 |
commit | 1f0769c470683acbe267a039e6661f170f020dcf (patch) | |
tree | fc4b47c2d66dbef6b2f90b98f5d30f4233826f78 /src/or/connection_edge.c | |
parent | cf67520e954993ebf2f144fa025cc9f0861b5f13 (diff) | |
download | tor-1f0769c470683acbe267a039e6661f170f020dcf.tar.gz tor-1f0769c470683acbe267a039e6661f170f020dcf.zip |
mark a rend circ dirty when you attach to it
svn:r1518
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index a543e22e70..23c9c9d5d3 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -915,11 +915,14 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) { rendcirc->purpose == CIRCUIT_PURPOSE_C_REND_READY) { /* then we know !pending_final_cpath, from above */ log_fn(LOG_INFO,"intro and rend circs are both ready. introducing."); + /* this call marks introcirc for close */ if(rend_client_send_introduction(introcirc, rendcirc) < 0) { return -1; } /* now attach conn to rendcirc */ link_apconn_to_circ(conn, rendcirc); + if(!rendcirc->timestamp_dirty) + rendcirc->timestamp_dirty = time(NULL); return 1; } } |