From: Motohiro KOSAKI Date: 2011-07-17T21:35:15+09:00 Subject: [ruby-dev:44134] [Ruby 1.9 - Bug #5039][Assigned] Re: socket related errors on chkbuild Issue #5039 has been updated by Motohiro KOSAKI. Category set to core Status changed from Open to Assigned Assignee set to Hiroshi Nakamura Target version set to 1.9.3 ---------------------------------------- Bug #5039: Re: socket related errors on chkbuild http://redmine.ruby-lang.org/issues/5039 Author: Akira Tanaka Status: Assigned Priority: Normal Assignee: Hiroshi Nakamura Category: core Target version: 1.9.3 ruby -v: - 2011年7月16日23:09 Tanaka Akira : > >> 1) Error: >> test_write_nonblock(OpenSSL::TestPair): > > これは原因が違うようで、直っていません。 これが起き始めたのはそんなに古くないのですね。 http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20110624T071200Z.diff.html.gz からなんですが、 +Fri Jun 24 15:54:14 2011 Hiroshi Nakamura + + * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Try to shutdown SSL + connection more gracefully. Call SSL_shutdown() max 4 times until it + returns 1 (success). Bi-directional SSL close has several states but + SSL_shutdown() kicks only 1 transition per call. Max 4 is from + mod_ssl.c of Apache httpd that says 'max 2x pending + 2x data = 4'. + See #4237. というコミット以来のようです。 -- [田中 哲][たなか あきら][Tanaka Akira] -- http://redmine.ruby-lang.org