[ruby-cvs:70066] usa:r62949 (ruby_2_3): merge revision(s) 62671: [Backport #14571]

usa at ruby-lang.org usa at ruby-lang.org
Wed Mar 28 15:03:14 JST 2018


usa	2018-03-28 15:03:13 +0900 (Wed, 28 Mar 2018)

  New Revision: 62949

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

  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_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/lib/resolv.rb
    branches/ruby_2_3/test/resolv/test_dns.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list