mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
When TLS 1.3 is in use, the session ticket may not have been sent yet even though a handshake has finished. Also, the ticket could change if multiple session ticket messages are sent by the server. Use SSLContext#session_new_cb instead of calling SSLSocket#session immediately after a handshake. This way also works with earlier protocol versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
|---|---|---|
| .. | ||
| http | ||
| ftp.rb | ||
| http.rb | ||
| https.rb | ||
| imap.rb | ||
| pop.rb | ||
| protocol.rb | ||
| smtp.rb | ||