diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-11 22:06:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-11 22:06:07 -0400 |
commit | 452cfaacfc6e6b4313d2170c29e18d6399038999 (patch) | |
tree | 0f5cfb8b9a50ea24be992f28496fea5cd4771f27 /src/common/tortls.h | |
parent | 051b1e8ac4114fb23904cdf8dead72d585904e0a (diff) | |
download | tor-452cfaacfc6e6b4313d2170c29e18d6399038999.tar.gz tor-452cfaacfc6e6b4313d2170c29e18d6399038999.zip |
Track TLS overhead: diagnostic for bug 7707
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 1ae6344d04..49c488b365 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -95,6 +95,8 @@ void tor_tls_get_buffer_sizes(tor_tls_t *tls, size_t *rbuf_capacity, size_t *rbuf_bytes, size_t *wbuf_capacity, size_t *wbuf_bytes); +double tls_get_write_overhead_ratio(void); + int tor_tls_used_v1_handshake(tor_tls_t *tls); int tor_tls_received_v3_certificate(tor_tls_t *tls); int tor_tls_get_num_server_handshakes(tor_tls_t *tls); |