tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit b2f3b3b7ebf5b231f5dc7818ef8731e870ae1ed1
parent e1d8a4bd720dd9941b467edb42ca64624743f51d
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu, 21 Sep 2017 14:43:05 -0400

Merge remote-tracking branch 'dgoulet/ticket23303_032_01'

Diffstat:
Msrc/or/hs_client.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/or/hs_client.c b/src/or/hs_client.c @@ -1185,8 +1185,10 @@ hs_client_desc_has_arrived(const hs_ident_dir_conn_t *ident) log_info(LD_REND, "Descriptor has arrived. Launching circuits."); - /* Restart their timeout values, so they get a fair shake at connecting to - * the hidden service. XXX: Improve comment on why this is needed. */ + /* Because the connection can now proceed to opening circuit and + * ultimately connect to the service, reset those timestamp so the + * connection is considered "fresh" and can continue without being closed + * too early. */ base_conn->timestamp_created = now; base_conn->timestamp_lastread = now; base_conn->timestamp_lastwritten = now;