Project

General

Profile

Actions

Backport #3707

closed

Net::IMAP#disconnect does not close when use_ssl = true

Added by nahi (Hiroshi Nakamura) over 13 years ago. Updated almost 13 years ago.


Description

=begin
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
=end

Actions #1

Updated by shugo (Shugo Maeda) over 13 years ago

  • Status changed from Open to Assigned

=begin

=end

Actions #3

Updated by shugo (Shugo Maeda) over 13 years ago

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

=begin
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.

=end

Actions #4

Updated by nahi (Hiroshi Nakamura) over 13 years ago

=begin
Thanks Shugo. Shyouhei, please backport this to 1.8.7.

NB: 1.9 series doesn't have this issue.
=end

Actions #5

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from shugo (Shugo Maeda) to shyouhei (Shyouhei Urabe)

=begin

=end

Actions #6

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

  • Status changed from Assigned to Closed

=begin
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.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0