aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_client.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-15 20:19:53 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-15 20:19:53 -0500
commit3d7bf98d13ffc090e5ba1b918f53668018690dce (patch)
tree82908c4a835bc9559996fe068466441e5dc78112 /src/or/hs_client.c
parent3c8a481599cf9c84530db1f304731b5f2ec9caef (diff)
parent7884ce76e100abc220ddedb76c9b98d22d66d645 (diff)
downloadtor-3d7bf98d13ffc090e5ba1b918f53668018690dce.tar.gz
tor-3d7bf98d13ffc090e5ba1b918f53668018690dce.zip
Merge remote-tracking branch 'valentecaio/t-24714'
Diffstat (limited to 'src/or/hs_client.c')
-rw-r--r--src/or/hs_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c
index d3978f22f0..d3d13723e4 100644
--- a/src/or/hs_client.c
+++ b/src/or/hs_client.c
@@ -1439,8 +1439,8 @@ hs_client_desc_has_arrived(const hs_ident_dir_conn_t *ident)
* 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;
+ base_conn->timestamp_last_read_allowed = now;
+ base_conn->timestamp_last_write_allowed = now;
/* Change connection's state into waiting for a circuit. */
base_conn->state = AP_CONN_STATE_CIRCUIT_WAIT;