<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/net/http/test_https.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Use IPv4 for test server because TestNetHTTPS is failing with s390x</title>
<updated>2025-04-03T05:44:09+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-03T05:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7c400c66c9b30f5cbc40b37a7fb1feb7d2d31c63'/>
<id>7c400c66c9b30f5cbc40b37a7fb1feb7d2d31c63</id>
<content type='text'>
https://rubyci.s3.amazonaws.com/s390x/ruby-3.2/log/20250403T005659Z.fail.html.gz
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://rubyci.s3.amazonaws.com/s390x/ruby-3.2/log/20250403T005659Z.fail.html.gz
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] test_https.rb - fix test_session_reuse_but_expire</title>
<updated>2024-11-19T10:31:46+00:00</updated>
<author>
<name>MSP-Greg</name>
<email>Greg.mpls@gmail.com</email>
</author>
<published>2024-06-21T00:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1e56c26ace1f9f5b8d2189ab00bee1cd8992795e'/>
<id>1e56c26ace1f9f5b8d2189ab00bee1cd8992795e</id>
<content type='text'>
https://github.com/ruby/net-http/commit/5544243c41
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/net-http/commit/5544243c41
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3</title>
<updated>2024-05-08T11:12:13+00:00</updated>
<author>
<name>Xi Ruoyao</name>
<email>xry111@xry111.site</email>
</author>
<published>2024-04-24T05:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0ca642cd300ee2d7a8f5dbef512344467285b2ea'/>
<id>0ca642cd300ee2d7a8f5dbef512344467285b2ea</id>
<content type='text'>
OpenSSL 3.3.0 9 Apr 2024 is also broken.

Signed-off-by: Xi Ruoyao &lt;xry111@xry111.site&gt;

https://github.com/ruby/net-http/commit/ab525c956d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OpenSSL 3.3.0 9 Apr 2024 is also broken.

Signed-off-by: Xi Ruoyao &lt;xry111@xry111.site&gt;

https://github.com/ruby/net-http/commit/ab525c956d
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 64b6a018a38f200c957fdbbe7d0cbe0e64781c9f:</title>
<updated>2024-03-21T12:15:02+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-03-21T12:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a2238d509c158fb5539c0d7dd42d8e3faec6ead'/>
<id>0a2238d509c158fb5539c0d7dd42d8e3faec6ead</id>
<content type='text'>
	Fix test session reuse but expire (#9824)

	* OpenSSL 3.2.1 30 Jan 2024 is also broken

	Import 45064610725ddd81a5ea3775da35aa46985bc789 from ruby_3_3 branch
	tentatively.
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix test session reuse but expire (#9824)

	* OpenSSL 3.2.1 30 Jan 2024 is also broken

	Import 45064610725ddd81a5ea3775da35aa46985bc789 from ruby_3_3 branch
	tentatively.
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump up net-http to 0.4.1</title>
<updated>2024-01-05T09:21:44+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-01-05T08:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3bd9adadbe0b500cf7e910c99db97aaddfba3369'/>
<id>3bd9adadbe0b500cf7e910c99db97aaddfba3369</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 3dec5dc3462286cdbdb53e496e6175a82bdc39b7:</title>
<updated>2023-12-16T01:48:39+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2023-12-16T01:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b3639871b2566c25c6c3b547f57348dc101ed3a4'/>
<id>b3639871b2566c25c6c3b547f57348dc101ed3a4</id>
<content type='text'>
	[ruby/net-http] Force TLS version to 1.2 when using LibreSSL

	This comment previously specified TLS 1.2, but actually set the
	version to TLS 1.0.  LibreSSL 3.8.1 (included in OpenBSD 7.4)
	dropped support for TLS 1.0/1.1 for security reasons, which
	broke this test.  Switch the test to use TLS 1.2 as documented
	so it will continue to work on OpenBSD 7.4+.

	https://github.com/ruby/net-http/commit/97be4de53a
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[ruby/net-http] Force TLS version to 1.2 when using LibreSSL

	This comment previously specified TLS 1.2, but actually set the
	version to TLS 1.0.  LibreSSL 3.8.1 (included in OpenBSD 7.4)
	dropped support for TLS 1.0/1.1 for security reasons, which
	broke this test.  Switch the test to use TLS 1.2 as documented
	so it will continue to work on OpenBSD 7.4+.

	https://github.com/ruby/net-http/commit/97be4de53a
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Feature detect to make net/http usable with JRuby</title>
<updated>2022-04-20T04:01:08+00:00</updated>
<author>
<name>Karol Bucek</name>
<email>kares@users.noreply.github.com</email>
</author>
<published>2022-04-20T04:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cf73cf5981802f2bcc30aba07914acf4286cda5a'/>
<id>cf73cf5981802f2bcc30aba07914acf4286cda5a</id>
<content type='text'>
Handle missing session_new_cb= and do not call
session_cache_mode=, as JRuby SSL does not support
these methods.

https://github.com/ruby/net-http/commit/3237ef4d8c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle missing session_new_cb= and do not call
session_cache_mode=, as JRuby SSL does not support
these methods.

https://github.com/ruby/net-http/commit/3237ef4d8c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Do not set SNI hostname if connecting to IP address</title>
<updated>2022-02-02T20:10:21+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-01-04T18:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7529c538915cd1765b0a362ca64e8f8ff439d7fc'/>
<id>7529c538915cd1765b0a362ca64e8f8ff439d7fc</id>
<content type='text'>
RFC 6066, section 3, explicitly disallows the use of an IP address
as an SNI server name.  So check if the connection is being made
to an IP address using the resolv regexps, and do not set an SNI
hostname in that case.

Recent changes to LibreSSL make it more strictly follow RFC 6066,
resulting an s.hostname= raising an error if passed an IP address.
When such verions of LibreSSL are used, this change not only fixes
the net/http tests, it also fixes tests for webrick and open-uri,
which both make SSL connections to 127.0.0.1 using net/http in
their tests.

Avoid warning in the openssl extension by unsetting
@ssl_context.verify_hostname if connecting to an IP address.
Make changes so that the post_connection_check still happens
when connecting to an IP address, which is necessary to keep
checking that the certificate returned includes the IP address,
which one of the tests depends on.

Revert the previous change that modified the regexp used for
checking the error message.

https://github.com/ruby/net-http/commit/fa68e64bee
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC 6066, section 3, explicitly disallows the use of an IP address
as an SNI server name.  So check if the connection is being made
to an IP address using the resolv regexps, and do not set an SNI
hostname in that case.

Recent changes to LibreSSL make it more strictly follow RFC 6066,
resulting an s.hostname= raising an error if passed an IP address.
When such verions of LibreSSL are used, this change not only fixes
the net/http tests, it also fixes tests for webrick and open-uri,
which both make SSL connections to 127.0.0.1 using net/http in
their tests.

Avoid warning in the openssl extension by unsetting
@ssl_context.verify_hostname if connecting to an IP address.
Make changes so that the post_connection_check still happens
when connecting to an IP address, which is necessary to keep
checking that the certificate returned includes the IP address,
which one of the tests depends on.

Revert the previous change that modified the regexp used for
checking the error message.

https://github.com/ruby/net-http/commit/fa68e64bee
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Fix unescaped `.` in Regexp</title>
<updated>2022-01-13T23:16:37+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2022-01-13T10:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b9b63774018870e69b8f81274c8326e9b1628597'/>
<id>b9b63774018870e69b8f81274c8326e9b1628597</id>
<content type='text'>
Use `include?` instead.

https://github.com/ruby/net-http/commit/05022744a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `include?` instead.

https://github.com/ruby/net-http/commit/05022744a9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/net-http] Use omit instead of skip for test-unit</title>
<updated>2022-01-11T12:45:34+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-01-11T12:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9b3dcf193c8a39b1316f0f2c6d9da5998a830663'/>
<id>9b3dcf193c8a39b1316f0f2c6d9da5998a830663</id>
<content type='text'>
https://github.com/ruby/net-http/commit/843d4548de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/net-http/commit/843d4548de
</pre>
</div>
</content>
</entry>
</feed>
