mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02:00
* backport r33311 from trunk.
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in test_ctx_server_session_cb. Thanks to Eric Wong for the patch. [Bug #5336] [ruby-core:39619] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
010c8e5970
commit
b3e0a54393
2 changed files with 9 additions and 0 deletions
|
@ -316,6 +316,7 @@ end
|
|||
ssl.connect
|
||||
last_client_session = ssl.session
|
||||
ssl.close
|
||||
Thread.pass # try to ensure server calls callbacks
|
||||
assert(called.delete(:new))
|
||||
assert(called.delete(:remove))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue