diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-03 21:25:05 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-26 14:14:57 +0900 |
commit | 6d5c89b1d1251f5a7c5a44c54b7b8aeae385e466 (patch) | |
tree | 425cbd0cd7e6f27815fac6da47f834a9e523f216 | |
parent | ab8137e7a69ce9c8429e84f556542c2b4f4650b6 (diff) | |
download | mikutter-6d5c89b1d1251f5a7c5a44c54b7b8aeae385e466.tar.gz |
TLS のプロトコルバージョンを 1.0 に固定しない
-rw-r--r-- | core/mui/gtk_web_image_loader.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/mui/gtk_web_image_loader.rb b/core/mui/gtk_web_image_loader.rb index 803e2733..6f86d220 100644 --- a/core/mui/gtk_web_image_loader.rb +++ b/core/mui/gtk_web_image_loader.rb @@ -262,8 +262,7 @@ module Gdk::WebImageLoader Net::HTTP.new(host, port || 80) when 'https'.freeze Net::HTTP.new(host, port || 443).tap{|_h| - _h.use_ssl = true - _h.ssl_version = 'TLSv1' } end + _h.use_ssl = true } end http.open_timeout=5 http.read_timeout=30 pool << http |