diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-08-23 11:25:29 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-08-23 14:37:17 +0900 |
commit | 6a79a06a78ad74441a58da166e108b656aa89f61 (patch) | |
tree | 766121413763d2eb9fe48de991b3fd8f89f0af0a /test/test_pkey_ec.rb | |
parent | df37b7a22eb0c70ddba4722630662b4c1e73b009 (diff) | |
download | ruby-openssl-6a79a06a78ad74441a58da166e108b656aa89f61.tar.gz |
ssl: do not call session_remove_cb during GC
As noted in the SSL_CTX_sess_set_remove_cb(3) manpage, SSL_CTX_free()
will call the callback function for each session in the internal session
store. We can't call the callback Proc since it may do a new object
allocation which is prohibited during GC.
Diffstat (limited to 'test/test_pkey_ec.rb')
0 files changed, 0 insertions, 0 deletions