Bugs item #1706, was opened at 30/03/2005 23:04
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1706&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lucas Nussbaum (lucas)
Assigned to: Nobody (None)
Summary: net/imap + openssl hangs

Initial Comment:
As reported on the ruby-talk mailing list[0], I ran into a problem when
using net/imap and openssl to connect to IMAP servers using imaps.

The following code hangs, with no exception being raised :
require 'net/imap'
require 'openssl'
serveur, login, password = 'imap.apinc.org', 'lucaswebmail', 'password'
p imap = Net::IMAP::new(serveur, 993, true)
p imap.login(login, password)
imap.disconnect

I'm using Ruby 1.8.2 on Debian unstable.

Thank you

[0] http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/135733

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1706&group_id=426