diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-26 01:29:02 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-26 01:29:02 +0000 |
commit | 86ff70295762321f550d9cd0542806f4ce0f2f33 (patch) | |
tree | 698a9813ea9975a329550ce2eb51eed08c21df8e /bin/irb | |
parent | 2de804b4d529b67ab71464bec99e5d4daf5f3ec5 (diff) |
* ext/openssl/ossl_ssl.c (ossl_call_servername_cb): set the ssl context
object returned by the servername callback on to the socket as an
instance variable. If the callback allocated a new context object
and didn't keep a reference to it, it could be GC'd out from under
the socket object.
* test/openssl/test_ssl.rb (class OpenSSL): test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/irb')
0 files changed, 0 insertions, 0 deletions