Net::IMAP hangs when logging in to an imap server over ssl
----------------------------------------------------------
Key: JRUBY-5200
URL: http://jira.codehaus.org/browse/JRUBY-5200
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby-OSSL 0.7.2
Environment: jruby-1.5.5 + jruby-ossl-0.7.2
Reporter: mccraigmccraig of the clan mccraig
Assignee: Thomas E Enebo
# irb transcript below shows the problem
# jruby-1.5.5 + jruby-ossl-0.7 : OK
# jruby-1.5.5 + jruby-ossl-0.7.2 : FAIL
ruby-1.8.7-p302 > require 'net/imap'
=> []
ruby-1.8.7-p302 > imap=Net::IMAP.new('imap.gmail.com', 993, true)
=> #<Net::IMAP:0x5cb49e68 @greeting=#<struct Net::IMAP::UntaggedResponse
name="OK", data=#<struct Net::IMAP::ResponseText code=nil, text="Gimap ready
for requests from 94.193.236.181 a52if6834207wer.66">, raw_data="* OK Gimap
ready for requests from 94.193.236.181 a52if6834207wer.66\r\n">,
@response_arrival=#<MonitorMixin::ConditionVariable:0x71eca460
@monitor=#<Net::IMAP:0x5cb49e68 ...>,
@condition=#<ConditionVariable:0x671bd50e>>, @mon_owner=nil,
@client_thread=#<Thread:0x5440bf04run>,
@sock=#<OpenSSL::SSL::SSLSocket:0x66bccad2 @sync=true,
@context=#<OpenSSL::SSL::SSLContext:0x74a7d5af>, @eof=false, @sync_close=false,
@rbuffer="", @io=#<TCPSocket:0x36be0ffe>>, @tagno=0, @tagged_responses={},
@host="imap.gmail.com", @usessl=true, @port=993, @tag_prefix="RUBY",
@receiver_thread=#<Thread:0x780c08c5sleep>, @mon_count=0, @responses={},
@response_handlers=[], @mon_waiting_cond=#<ConditionVariable:0x5e13fb15>,
@mon_total_waiting=0, @logout_command_tag=nil,
@mon_entering_cond=#<ConditionVariable:0x71c94ff3>, @debug_output_bol=true,
@mon_mutex=#<Mutex:0x57a014e1>, @parser=#<Net::IMAP::ResponseParser:0x4ebaecb8
@lex_state=:EXPR_BEG, @pos=70, @token=nil, @str="* OK Gimap ready for requests
from 94.193.236.181 a52if6834207wer.66\r\n">, @continuation_request=nil>
ruby-1.8.7-p302 >
ruby-1.8.7-p302 > imap.login('[email protected]', 'notmypassword')
# hangs here
--
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