Deleted Added
sdiff udiff text old ( 273399 ) new ( 279264 )
full compact
1.\" Automatically generated by Pod::Man 2.27 (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. ds C`
42. ds C'
43'br\}
44.\"
45.\" Escape single quotes in literal strings from groff's Unicode transform.
46.ie \n(.g .ds Aq \(aq
47.el .ds Aq '
48.\"
49.\" If the F register is turned on, we'll generate index entries on stderr for
50.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
51.\" entries marked with X<> in POD. Of course, you'll have to process the
52.\" output yourself in some meaningful fashion.
53.\"
54.\" Avoid warning from groff about undefined register 'F'.
55.de IX
56..
57.nr rF 0
58.if \n(.g .if rF .nr rF 1
59.if (\n(rF:(\n(.g==0)) \{
60. if \nF \{
61. de IX
62. tm Index:\\$1\t\\n%\t"\\$2"
63..
64. if !\nF==2 \{
65. nr % 0
66. nr F 2
67. \}
68. \}
69.\}
70.rr rF
71.\"
72.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
73.\" Fear. Run. Save yourself. No user-serviceable parts.
74. \" fudge factors for nroff and troff
75.if n \{\
76. ds #H 0
77. ds #V .8m
78. ds #F .3m

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

128. ds Th \o'LP'
129. ds ae ae
130. ds Ae AE
131.\}
132.rm #[ #] #H #V #F C
133.\" ========================================================================
134.\"
135.IX Title "SSL_CTX_set_session_cache_mode 3"
136.TH SSL_CTX_set_session_cache_mode 3 "2015-01-15" "1.0.1l" "OpenSSL"
137.\" For nroff, turn off justification. Always turn off hyphenation; it makes
138.\" way too many mistakes in technical documents.
139.if n .ad l
140.nh
141.SH "NAME"
142SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode \- enable/disable session caching
143.SH "SYNOPSIS"
144.IX Header "SYNOPSIS"

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

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

--- 12 unchanged lines hidden ---