diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_sess_number.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_CTX_sess_number.3 | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_sess_number.3 b/src/lib/libssl/doc/SSL_CTX_sess_number.3 deleted file mode 100644 index f3af4eab07..0000000000 --- a/src/lib/libssl/doc/SSL_CTX_sess_number.3 +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | .\" | ||
2 | .\" $OpenBSD: SSL_CTX_sess_number.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
3 | .\" | ||
4 | .Dd $Mdocdate: December 2 2014 $ | ||
5 | .Dt SSL_CTX_SESS_NUMBER 3 | ||
6 | .Os | ||
7 | .Sh NAME | ||
8 | .Nm SSL_CTX_sess_number , | ||
9 | .Nm SSL_CTX_sess_connect , | ||
10 | .Nm SSL_CTX_sess_connect_good , | ||
11 | .Nm SSL_CTX_sess_connect_renegotiate , | ||
12 | .Nm SSL_CTX_sess_accept , | ||
13 | .Nm SSL_CTX_sess_accept_good , | ||
14 | .Nm SSL_CTX_sess_accept_renegotiate , | ||
15 | .Nm SSL_CTX_sess_hits , | ||
16 | .Nm SSL_CTX_sess_cb_hits , | ||
17 | .Nm SSL_CTX_sess_misses , | ||
18 | .Nm SSL_CTX_sess_timeouts , | ||
19 | .Nm SSL_CTX_sess_cache_full | ||
20 | .Nd obtain session cache statistics | ||
21 | .Sh SYNOPSIS | ||
22 | .In openssl/ssl.h | ||
23 | .Ft long | ||
24 | .Fn SSL_CTX_sess_number "SSL_CTX *ctx" | ||
25 | .Ft long | ||
26 | .Fn SSL_CTX_sess_connect "SSL_CTX *ctx" | ||
27 | .Ft long | ||
28 | .Fn SSL_CTX_sess_connect_good "SSL_CTX *ctx" | ||
29 | .Ft long | ||
30 | .Fn SSL_CTX_sess_connect_renegotiate "SSL_CTX *ctx" | ||
31 | .Ft long | ||
32 | .Fn SSL_CTX_sess_accept "SSL_CTX *ctx" | ||
33 | .Ft long | ||
34 | .Fn SSL_CTX_sess_accept_good "SSL_CTX *ctx" | ||
35 | .Ft long | ||
36 | .Fn SSL_CTX_sess_accept_renegotiate "SSL_CTX *ctx" | ||
37 | .Ft long | ||
38 | .Fn SSL_CTX_sess_hits "SSL_CTX *ctx" | ||
39 | .Ft long | ||
40 | .Fn SSL_CTX_sess_cb_hits "SSL_CTX *ctx" | ||
41 | .Ft long | ||
42 | .Fn SSL_CTX_sess_misses "SSL_CTX *ctx" | ||
43 | .Ft long | ||
44 | .Fn SSL_CTX_sess_timeouts "SSL_CTX *ctx" | ||
45 | .Ft long | ||
46 | .Fn SSL_CTX_sess_cache_full "SSL_CTX *ctx" | ||
47 | .Sh DESCRIPTION | ||
48 | .Fn SSL_CTX_sess_number | ||
49 | returns the current number of sessions in the internal session cache. | ||
50 | .Pp | ||
51 | .Fn SSL_CTX_sess_connect | ||
52 | returns the number of started SSL/TLS handshakes in client mode. | ||
53 | .Pp | ||
54 | .Fn SSL_CTX_sess_connect_good | ||
55 | returns the number of successfully established SSL/TLS sessions in client mode. | ||
56 | .Pp | ||
57 | .Fn SSL_CTX_sess_connect_renegotiate | ||
58 | returns the number of start renegotiations in client mode. | ||
59 | .Pp | ||
60 | .Fn SSL_CTX_sess_accept | ||
61 | returns the number of started SSL/TLS handshakes in server mode. | ||
62 | .Pp | ||
63 | .Fn SSL_CTX_sess_accept_good | ||
64 | returns the number of successfully established SSL/TLS sessions in server mode. | ||
65 | .Pp | ||
66 | .Fn SSL_CTX_sess_accept_renegotiate | ||
67 | returns the number of start renegotiations in server mode. | ||
68 | .Pp | ||
69 | .Fn SSL_CTX_sess_hits | ||
70 | returns the number of successfully reused sessions. | ||
71 | In client mode a session set with | ||
72 | .Xr SSL_set_session 3 | ||
73 | successfully reused is counted as a hit. | ||
74 | In server mode a session successfully retrieved from internal or external cache | ||
75 | is counted as a hit. | ||
76 | .Pp | ||
77 | .Fn SSL_CTX_sess_cb_hits | ||
78 | returns the number of successfully retrieved sessions from the external session | ||
79 | cache in server mode. | ||
80 | .Pp | ||
81 | .Fn SSL_CTX_sess_misses | ||
82 | returns the number of sessions proposed by clients that were not found in the | ||
83 | internal session cache in server mode. | ||
84 | .Pp | ||
85 | .Fn SSL_CTX_sess_timeouts | ||
86 | returns the number of sessions proposed by clients and either found in the | ||
87 | internal or external session cache in server mode, | ||
88 | but that were invalid due to timeout. | ||
89 | These sessions are not included in the | ||
90 | .Fn SSL_CTX_sess_hits | ||
91 | count. | ||
92 | .Pp | ||
93 | .Fn SSL_CTX_sess_cache_full | ||
94 | returns the number of sessions that were removed because the maximum session | ||
95 | cache size was exceeded. | ||
96 | .Sh RETURN VALUES | ||
97 | The functions return the values indicated in the | ||
98 | .Sx DESCRIPTION | ||
99 | section. | ||
100 | .Sh SEE ALSO | ||
101 | .Xr ssl 3 , | ||
102 | .Xr SSL_CTX_sess_set_cache_size 3 , | ||
103 | .Xr SSL_CTX_set_session_cache_mode 3 , | ||
104 | .Xr SSL_set_session 3 | ||