1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/resolv
nagachika e804822e7a merge revision(s) 62671: [Backport #14571]
resolv.rb: close socket

	* lib/resolv.rb (UnconnectedUDP#lazy_initialize): store new
	  sockets before binding, so the sockets get closed when the
	  requester is closing.

	* lib/resolv.rb (ConnectedUDP#lazy_initialize): ditto.

	* lib/resolv.rb (UnconnectedUDP#close): synchronize to get rid of
	  race condition.

	* lib/resolv.rb (ConnectedUDP#close): ditto.

	[ruby-core:85901] [Bug #14571]

	From: quixoten (Devin Christensen) <quixoten@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-07 12:05:16 +00:00
..
test_addr.rb fix test errors on Windows 2017-12-20 16:04:41 +00:00
test_dns.rb merge revision(s) 62671: [Backport #14571] 2019-01-07 12:05:16 +00:00
test_mdns.rb Handle Errno::EADDRNOTAVAIL with Raspberry Pi environment. 2017-10-21 16:05:01 +00:00
test_resource.rb fix Resolv::LOC::Coord.create. 2016-11-05 15:19:21 +00:00