diff options
| author | Kazuki Yamaguchi <k@rhe.jp> | 2021-10-14 15:53:00 +0900 |
|---|---|---|
| committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-10-16 18:34:35 +0900 |
| commit | c1147f7f713f82d5c20dc8dfe4062f7bf671515a (patch) | |
| tree | 00bd041de573ab704985cfd4ddc4b6838b08785c /include/ruby/internal/error.h | |
| parent | f6612203fa6ea240d83b85aa561258ece11fa48b (diff) | |
[ruby/openssl] ssl: avoid directly storing String object in NPN callback
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.
https://github.com/ruby/openssl/commit/5eb68ba778
Diffstat (limited to 'include/ruby/internal/error.h')
0 files changed, 0 insertions, 0 deletions
