summaryrefslogtreecommitdiff
path: root/dir.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-10-14 15:50:02 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-10-16 18:34:35 +0900
commitca28545b517057613f57e4814622e553d6fae442 (patch)
tree82e943a01ff0e8343718f6496c51f661d323c027 /dir.rb
parentc6c2190c4c546743981944c9ff258a94a6ea7a09 (diff)
[ruby/openssl] ssl: explicitly call rb_gc_mark() against SSLContext/SSLSocket objects
We store the reverse reference to the Ruby object in the OpenSSL struct for use from OpenSSL callback functions. To prevent the Ruby object from being relocated by GC.compact, we must "pin" it by calling rb_gc_mark(). https://github.com/ruby/openssl/commit/022b7ceada
Diffstat (limited to 'dir.rb')
0 files changed, 0 insertions, 0 deletions