summaryrefslogtreecommitdiff
path: root/dmyext.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-06 02:48:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-06 02:48:17 +0000
commite6c0a8f19e3f38fdc77906ea545f8d3b0479adf7 (patch)
tree43ebf72cd70c35a3b6c96a0cffbcbbe8d59e899b /dmyext.c
parent4b747c2890940dddb226cdc3f59acc77725a9c6e (diff)
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/trunk@62671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dmyext.c')
0 files changed, 0 insertions, 0 deletions