1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net/http
rhe 33dd5d6970 net/http, net/ftp: skip SSL/TLS session resumption tests
Due to a bug in OpenSSL 1.1.0h[1] (it's only in this specific version;
it was introduced just before the release and is already fixed in their
stable branch), the callback set by SSLContext#session_new_cb= does not
get called for clients, making net/http and net/ftp not attempt session
resumption.

Let's disable the affected test cases for now. Another option would be
to fallback to using SSLSocket#session as we did before r64234. But
since only a single version is affected and hopefully a new stable
version containing the fix will be released in near future, I chose not
to add such workaround code to lib/.

[1] https://github.com/openssl/openssl/pull/5967

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-09 10:00:19 +00:00
..
test_buffered_io.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_http.rb increase body size 2018-06-25 12:11:31 +00:00
test_http_request.rb Raise ArgumentError if host component is nil 2018-03-08 16:07:54 +00:00
test_httpheader.rb raise error if value contains CR/LF in iniheader of initialize_http_header 2017-12-20 12:06:59 +00:00
test_httpresponse.rb test/net/http/test_httpresponse.rb: add testcases for net/httpresponse 2018-06-24 09:31:09 +00:00
test_httpresponses.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_https.rb net/http, net/ftp: skip SSL/TLS session resumption tests 2018-08-09 10:00:19 +00:00
test_https_proxy.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
utils.rb net/http: don't use OpenSSL::TestUtils from test code 2016-11-29 15:48:45 +00:00