[ruby-cvs:66711] usa:r59533 (ruby_2_3): merge revision(s) 56576, 56623: [Backport #12678] [Backport #13429]

usa at ruby-lang.org usa at ruby-lang.org
Wed Aug 9 17:10:56 JST 2017


usa	2017-08-09 17:10:56 +0900 (Wed, 09 Aug 2017)

  New Revision: 59533

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

  Log:
    merge revision(s) 56576,56623: [Backport #12678] [Backport #13429]
    
    * lib/net/smtp.rb (tlsconnect): support timeout for TLS handshake.
      [ruby-core:76893] [Bug #12678]
    
    * lib/net/protocol.rb (ssl_socket_connect): new method to implement
      timeout for TLS handshake.
    
    * lib/net/http.rb (connect): use Net::Protocol#ssl_socket_connect.
    
    * test/net/smtp/test_smtp.rb (test_tls_connect, test_tls_connect):
      use Socket.tcp_server_sockets in case localhost is resolved to ::1.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/lib/net/http.rb
    branches/ruby_2_3/lib/net/protocol.rb
    branches/ruby_2_3/lib/net/smtp.rb
    branches/ruby_2_3/test/net/smtp/test_smtp.rb
    branches/ruby_2_3/test/net/smtp/test_ssl_socket.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list