Handbook
Glossary
set-session-cache ( ctx -- )
Vocabulary
io
.
sockets
.
secure
.
openssl
Inputs
ctx
an
object
Outputs
None
Definition
USING:
accessors
kernel
math.parser
openssl
openssl.libssl
random
sequences
;
IN:
io.sockets.secure.openssl
:
set-session-cache
( ctx -- )
handle>>
[
SSL_SESS_CACHE_BOTH
SSL_CTX_set_session_cache_mode
ssl-error
]
[
32
random-bits
>hex
dup
length
SSL_CTX_set_session_id_context
ssl-error
]
bi
;