aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-10 10:07:41 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-10 10:07:41 -0400
commitd29a8ad564757866dee8d2cbd940c5028a03f2e3 (patch)
tree23ed85f8b159baee2037d43f0e2571da70f66fd2 /src/or/connection_or.c
parent99b59dee7046b04854ac263a1cf810dceb80df12 (diff)
downloadtor-d29a8ad564757866dee8d2cbd940c5028a03f2e3.tar.gz
tor-d29a8ad564757866dee8d2cbd940c5028a03f2e3.zip
Add link protocol version counts to the heartbeat message
Closes ticket 15212
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 85462d899d..e0dff1c915 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1819,6 +1819,7 @@ connection_tls_finish_handshake(or_connection_t *conn)
conn->base_.port, digest_rcvd, 0);
}
tor_tls_block_renegotiation(conn->tls);
+ rep_hist_note_negotiated_link_proto(1, started_here);
return connection_or_set_state_open(conn);
} else {
connection_or_change_state(conn, OR_CONN_STATE_OR_HANDSHAKING_V2);