Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions test/net/http/test_https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,16 @@ def test_session_reuse
def test_session_reuse_but_expire
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 1.1.0h')
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.2.')
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.3.')

http = Net::HTTP.new(HOST, config("port"))
http.use_ssl = true
http.cert_store = TEST_STORE

http.ssl_timeout = -1
http.ssl_timeout = 1
http.start
http.get("/")
http.finish

sleep 1.25
http.start
http.get("/")

Expand Down