Net::IMAP#authenticate stalls / blocks in recent versions of JRuby
-------------------------------------------------------------------
Key: JRUBY-2950
URL: http://jira.codehaus.org/browse/JRUBY-2950
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.3
Environment: Ubuntu Linux. Courier IMAP with rawdata:
OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
Reporter: Corin Moss
Fix For: JRuby 1.0.3
I'm experiencing problems authenticating using the standard
Net::IMAP#authenticate method.
I've reliably reproduced this bug(?) on two recent versions of JRuby (1.1.3
released and current SVN Trunk). Version 1.0.3 does _not_ exhibit this bug -
the authentication works correctly.
c ruby 1.8.4 also functions correctly.
the code to recreate this is simply:
require 'net/imap'
imap = Net::IMAP.new('mail.example.com')
imap.authenticate('LOGIN', '[EMAIL PROTECTED]', 'password')
This code executed from either jirb or a standard script with jruby >1.1.3
consistently blocks, and does not exit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email