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 <akr / fsij.org>:
 >
 >>  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  <nahi / ruby-lang.org>
 +
 +       * 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