Deleted Added
sdiff udiff text old ( 273399 ) new ( 279264 )
full compact
1.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.28)
2.\"
3.\" Standard preamble:
4.\" ========================================================================
5.de Sp \" Vertical space (when we can't use .PP)
6.if t .sp .5v
7.if n .sp
8..
9.de Vb \" Begin verbatim text

--- 23 unchanged lines hidden (view full) ---

33. ds C` ""
34. ds C' ""
35'br\}
36.el\{\
37. ds -- \|\(em\|
38. ds PI \(*p
39. ds L" ``
40. ds R" ''
41'br\}
42.\"
43.\" Escape single quotes in literal strings from groff's Unicode transform.
44.ie \n(.g .ds Aq \(aq
45.el .ds Aq '
46.\"
47.\" If the F register is turned on, we'll generate index entries on stderr for
48.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49.\" entries marked with X<> in POD. Of course, you'll have to process the
50.\" output yourself in some meaningful fashion.
51.ie \nF \{\
52. de IX
53. tm Index:\\$1\t\\n%\t"\\$2"
54..
55. nr % 0
56. rr F
57.\}
58.el \{\
59. de IX
60..
61.\}
62.\"
63.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
64.\" Fear. Run. Save yourself. No user-serviceable parts.
65. \" fudge factors for nroff and troff
66.if n \{\
67. ds #H 0
68. ds #V .8m
69. ds #F .3m

--- 49 unchanged lines hidden (view full) ---

119. ds Th \o'LP'
120. ds ae ae
121. ds Ae AE
122.\}
123.rm #[ #] #H #V #F C
124.\" ========================================================================
125.\"
126.IX Title "SSL_CTX_set_session_cache_mode 3"
127.TH SSL_CTX_set_session_cache_mode 3 "2014-10-15" "1.0.1j" "OpenSSL"
128.\" For nroff, turn off justification. Always turn off hyphenation; it makes
129.\" way too many mistakes in technical documents.
130.if n .ad l
131.nh
132.SH "NAME"
133SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode \- enable/disable session caching
134.SH "SYNOPSIS"
135.IX Header "SYNOPSIS"

--- 66 unchanged lines hidden (view full) ---

202By setting this flag, session-resume operations in an \s-1SSL/TLS\s0 server will not
203automatically look up sessions in the internal cache, even if sessions are
204automatically stored there. If external session caching callbacks are in use,
205this flag guarantees that all lookups are directed to the external cache.
206As automatic lookup only applies for \s-1SSL/TLS\s0 servers, the flag has no effect on
207clients.
208.IP "\s-1SSL_SESS_CACHE_NO_INTERNAL_STORE\s0" 4
209.IX Item "SSL_SESS_CACHE_NO_INTERNAL_STORE"
210Depending on the presence of \s-1SSL_SESS_CACHE_CLIENT\s0 and/or \s-1SSL_SESS_CACHE_SERVER\s0,
211sessions negotiated in an \s-1SSL/TLS\s0 handshake may be cached for possible reuse.
212Normally a new session is added to the internal cache as well as any external
213session caching (callback) that is configured for the \s-1SSL_CTX\s0. This flag will
214prevent sessions being stored in the internal cache (though the application can
215add them manually using \fISSL_CTX_add_session\fR\|(3)). Note:
216in any \s-1SSL/TLS\s0 servers where external caching is configured, any successful
217session lookups in the external cache (ie. for session-resume requests) would
218normally be copied into the local cache before processing continues \- this flag
219prevents these additions to the internal cache as well.
220.IP "\s-1SSL_SESS_CACHE_NO_INTERNAL\s0" 4
221.IX Item "SSL_SESS_CACHE_NO_INTERNAL"
222Enable both \s-1SSL_SESS_CACHE_NO_INTERNAL_LOOKUP\s0 and
223\&\s-1SSL_SESS_CACHE_NO_INTERNAL_STORE\s0 at the same time.
224.PP
225The default mode is \s-1SSL_SESS_CACHE_SERVER\s0.
226.SH "RETURN VALUES"
227.IX Header "RETURN VALUES"
228\&\fISSL_CTX_set_session_cache_mode()\fR returns the previously set cache mode.
229.PP
230\&\fISSL_CTX_get_session_cache_mode()\fR returns the currently set cache mode.
231.SH "SEE ALSO"
232.IX Header "SEE ALSO"
233\&\fIssl\fR\|(3), \fISSL_set_session\fR\|(3),

--- 12 unchanged lines hidden ---