ruby-changes:21251
From: naruse <ko1@a...>
Date: Tue, 20 Sep 2011 10:23:53 +0900 (JST)
Subject: [ruby-changes:21251] naruse:r33300 (trunk): Explicitly close the tcp connection.
naruse 2011-09-20 10:23:33 +0900 (Tue, 20 Sep 2011) New Revision: 33300 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33300 Log: Explicitly close the tcp connection. Without this, the connection will be alive without GC after exit the block and the test will fail as "TCPServer was closed and SSLServer is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD. Modified files: trunk/test/openssl/test_ssl.rb Index: test/openssl/test_ssl.rb =================================================================== --- test/openssl/test_ssl.rb (revision 33299) +++ test/openssl/test_ssl.rb (revision 33300) @@ -212,6 +212,7 @@ ssl.session = session assert_equal session, ssl.session + sock.close } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/