[ruby-cvs:70038] nagachika:r62915 (ruby_2_4): merge revision(s) 62671: [Backport #14571]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Mar 25 13:12:57 JST 2018


nagachika	2018-03-25 13:12:57 +0900 (Sun, 25 Mar 2018)

  New Revision: 62915

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62915

  Log:
    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 at gmail.com>

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/lib/resolv.rb
    branches/ruby_2_4/test/resolv/test_dns.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list