diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/net/imap.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Aug 27 12:24:21 2010 Shugo Maeda <[email protected]> + + * lib/net/imap.rb (initialize): sets sync_close to true. + Thanks, Hiroshi NAKAMURA. [ruby-core:31753] + Mon Aug 23 11:42:41 2010 NAKAMURA, Hiroshi <[email protected]> * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean diff --git a/lib/net/imap.rb b/lib/net/imap.rb index c80142717d..6dcabae9fd 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -912,6 +912,7 @@ module Net context.verify_callback = VerifyCallbackProc end @sock = SSLSocket.new(@sock, context) + @sock.sync_close = true @sock.connect # start ssl session. @sock.post_connection_check(@host) if verify else |