ruby-changes:56726
From: usa <ko1@a...>
Date: Wed, 31 Jul 2019 23:03:41 +0900 (JST)
Subject: [ruby-changes:56726] usa: 402bf6d516 (ruby_2_5): merge revision(s) 67563: [Backport #15769]
https://git.ruby-lang.org/ruby.git/commit/?id=402bf6d516 From 402bf6d516ac80e7ce1f58660086962231acf425 Mon Sep 17 00:00:00 2001 From: usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Wed, 31 Jul 2019 14:02:50 +0000 Subject: merge revision(s) 67563: [Backport #15769] Support SNI (Reapplying r67488) This fixes connecting using TLS 1.3 to imap.gmail.com [Fix GH-2077] [Feature #15594] From: Marc-Antoine Perennou <Marc-Antoine@P...> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 7db9c7a..da7d0d5 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1528,6 +1528,7 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/imap.rb#L1528 end @sock = SSLSocket.new(@sock, context) @sock.sync_close = true + @sock.hostname = @host if @sock.respond_to? :hostname= ssl_socket_connect(@sock, @open_timeout) if context.verify_mode != VERIFY_NONE @sock.post_connection_check(@host) diff --git a/version.h b/version.h index df6930e..ad21d0c 100644 --- a/version.h +++ b/version.h @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L1 #define RUBY_VERSION "2.5.6" -#define RUBY_RELEASE_DATE "2019-05-30" -#define RUBY_PATCHLEVEL 167 +#define RUBY_RELEASE_DATE "2019-07-31" +#define RUBY_PATCHLEVEL 168 #define RUBY_RELEASE_YEAR 2019 -#define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 30 +#define RUBY_RELEASE_MONTH 7 +#define RUBY_RELEASE_DAY 31 #include "ruby/version.h" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/