Forum: Ruby-core [Bug #3707] Net::IMAP#disconnect does not close when use_ssl = true

Posted by Hiroshi NAKAMURA (Guest)
on 2010-08-18 08:18
(Received via mailing list)
Bug #3707: Net::IMAP#disconnect does not close when use_ssl = true
http://redmine.ruby-lang.org/issues/show/3707

Author: Hiroshi NAKAMURA
Status: Open, Priority: Normal
Assigned to: Shugo Maeda, Category: lib, Target version: Ruby 1.8.8
ruby -v: ruby 1.8.8dev (2010-07-12 revision 27031) [x86_64-linux]

imap = Net::IMAP.new('imap.gmail.com', 993, true)
imap.disconnect
p imap.disconnected? #=> false for ruby_1_8, true fo 1.9

'@sock.sync_close = true' needed just after creating SSLSocket instance 
like 1.9.
(r13656 includes this fix)

cf. https://jira.codehaus.org/browse/JRUBY-5019
Posted by Hiroshi NAKAMURA (Guest)
on 2010-08-18 11:36
(Received via mailing list)
Issue #3707 has been updated by Hiroshi NAKAMURA.


http://gist.github.com/534127
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3707
Posted by Shugo Maeda (Guest)
on 2010-08-27 05:27
(Received via mailing list)
Issue #3707 has been updated by Shugo Maeda.

Status changed from Assigned to Closed
% Done changed from 0 to 100

This issue was solved with changeset r29111.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/3707
Posted by Hiroshi NAKAMURA (Guest)
on 2010-08-30 07:02
(Received via mailing list)
Issue #3707 has been updated by Hiroshi NAKAMURA.


Thanks Shugo.  Shyouhei, please backport this to 1.8.7.

NB: 1.9 series doesn't have this issue.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3707
Posted by Shyouhei Urabe (Guest)
on 2010-11-24 08:47
(Received via mailing list)
Issue #3707 has been updated by Shyouhei Urabe.

Status changed from Assigned to Closed

This issue was solved with changeset r29902.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.