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
nagachika ea347990a5 merge revision(s) 07786edd66f59a529d6febb2e0fe901782991755,1917afa34bca55ba1ea578234132b7e4479ea3c9,0c611d7f4fce67c64bee4815f263c55ef15561c4:
test/net/http/test_https.rb: Stop the error due to openssl 1.1.1h

	On some environments that uses OpenSSL 1.1.1h, the two tests now fail.

	http://rubyci.s3.amazonaws.com/android29-x86_64/ruby-master/log/20200924T062352Z.fail.html.gz
	https://github.com/ruby/ruby/runs/1159288773?check_suite_focus=true

	```
	  1) Failure:
	TestNetHTTPS#test_get [/data/data/com.termux/files/home/cb/tmp/build/20200924T062352Z/ruby/test/net/http/test_https.rb:47]:
	<"0\x82\x03\xED0\x82\x02\xD5\xA0\x03..."> expected but was
	<"0\x82\x03\xE30\x82\x02\xCB\xA0\x03...">.
	```

	Not sure why, but verify_callback now seems to receive only SERVER_CERT
	but not CA_CERT.
	It would be good to investigate the issue furthermore, but tentatively,
	I want to stop the failures.

	test/net/http/test_https.rb: the order of verify_callback seems to
	 vary

	... depending upon the environment.

	test/net/http/test_https.rb: The test logic was buggy

	The expected certs must be `[CA_CERT, SERVER_CERT]` before 1.1.1g and
	`[SERVER_CERT]` after 1.1.1h.
2020-09-30 07:50:06 +09:00
..
test_buffered_io.rb
test_http.rb test/net/http/test_https.rb (test_get_SNI_failure): stop proxy settings 2019-12-10 09:41:33 +09:00
test_http_request.rb Adding missing test for Net::HTTPGenericRequest initializer (#1835) 2019-08-16 01:38:46 +09:00
test_httpheader.rb Show the caller's location 2019-07-24 00:26:28 +09:00
test_httpresponse.rb Revert "lib/net/http/response.rb: support raw deflate correctly" 2019-12-16 23:39:10 +09:00
test_httpresponses.rb
test_https.rb merge revision(s) 07786edd66f59a529d6febb2e0fe901782991755,1917afa34bca55ba1ea578234132b7e4479ea3c9,0c611d7f4fce67c64bee4815f263c55ef15561c4: 2020-09-30 07:50:06 +09:00
test_https_proxy.rb
utils.rb test/net/http/test_https.rb (test_get_SNI_failure): stop proxy settings 2019-12-10 09:41:33 +09:00