diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-10-14 15:53:00 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-10-14 16:13:42 +0900 |
commit | 5eb68ba77855cdf82b6c2ecf884ed183629407b9 (patch) | |
tree | 66e6a49c0232387a7a5bdc414b8e72bad0f7e225 /ext/openssl/ossl_engine.h | |
parent | a6ba9f894f70e80ad2cc263e088d0b14af3a70ec (diff) | |
download | ruby-openssl-ky/ssl-mark-reverse-references.tar.gz |
ssl: avoid directly storing String object in NPN callbackky/ssl-mark-reverse-references
On the server side, the serialized list of protocols is stored in
SSL_CTX as a String object reference. We utilize a hidden instance
variable to prevent it from being GC'ed, but this is not enough because
it can also be relocated by GC.compact.
Diffstat (limited to 'ext/openssl/ossl_engine.h')
0 files changed, 0 insertions, 0 deletions