ruby-changes:10562
From: akr <ko1@a...>
Date: Sun, 8 Feb 2009 11:02:30 +0900 (JST)
Subject: [ruby-changes:10562] Ruby:r22117 (trunk): select before read_nonblock.
akr 2009-02-08 11:01:22 +0900 (Sun, 08 Feb 2009) New Revision: 22117 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22117 Log: select before read_nonblock. Modified files: trunk/test/openssl/test_pair.rb Index: test/openssl/test_pair.rb =================================================================== --- test/openssl/test_pair.rb (revision 22116) +++ test/openssl/test_pair.rb (revision 22117) @@ -156,6 +156,7 @@ } assert_match(/SSL_ERROR_WANT_READ/, err.message) s1.write "abc\ndef\n" + IO.select([s2]) assert_equal("ab", s2.read_nonblock(2)) assert_equal("c\n", s2.gets) ret = nil -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/