1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net
rhe 1dfc377ae3 net/http, net/ftp: fix session resumption with TLS 1.3
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
2018-08-08 14:13:55 +00:00
..
http Get rid of warnings of test/spec 2018-06-14 09:01:38 +00:00
ftp.rb net/http, net/ftp: fix session resumption with TLS 1.3 2018-08-08 14:13:55 +00:00
http.rb net/http, net/ftp: fix session resumption with TLS 1.3 2018-08-08 14:13:55 +00:00
https.rb
imap.rb net/imap: Fix ArgumentError in send_string_data 2018-05-11 12:39:23 +00:00
pop.rb net/pop: make modified strings mutable 2018-01-30 00:22:22 +00:00
protocol.rb write_timeout doc upates [skip ci] 2018-06-08 17:20:20 +00:00
smtp.rb Use unpack1 instead of unpack and [0] 2017-07-20 23:34:03 +00:00