mad-p/xmpp4r — pull request #3 by Strech (2013-05-30 06:06:09+00:00)
Title: Sorry, but you have no issues

Hi, i have some problem. It's looks like deadlock or simple unlimited waiting in wait block.
My debug log:

```log
RESOLVING:
_xmpp-client._tcp.im.pulscen.ru (SRV)
CONNECTING:
im.pulscen.ru:5222
SENDING:

RECEIVED:

FEATURES: waiting...
RECEIVED:
SCRAM-SHA-1DIGEST-MD5PLAIN
FEATURES: received
PROCESSING:
SCRAM-SHA-1DIGEST-MD5PLAIN (REXML::Element)
FEATURES: waiting finished
TRYING stanzacbs...
TRYING message/iq/presence/cbs...
SENDING:

RECEIVED:

TLSv1: OpenSSL handshake in progress
TLSv1: restarting parser
SENDING:

EXCEPTION:
Jabber::ServerDisconnected
Server Disconnected!
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/streamparser.rb:68:in `block in parse'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `call'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `block in handle'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `each'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `handle'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:95:in `parse'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/streamparser.rb:79:in `parse'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/stream.rb:75:in `block in start'
Exception caught in Parser thread! (Jabber::ServerDisconnected)
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/streamparser.rb:68:in `block in parse'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `call'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `block in handle'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `each'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:195:in `handle'
/usr/lib64/ruby/1.9.1/rexml/parsers/sax2parser.rb:95:in `parse'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/streamparser.rb:79:in `parse'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/stream.rb:75:in `block in start'

^Crake aborted!

/usr/lib64/ruby/1.9.1/thread.rb:71:in `sleep'
/usr/lib64/ruby/1.9.1/thread.rb:71:in `wait'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/semaphore.rb:24:in `block in wait'
:10:in `synchronize'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/semaphore.rb:23:in `wait'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/stream.rb:331:in `wait'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/stream.rb:398:in `send'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/client.rb:89:in `start'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/connection.rb:176:in `starttls'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/connection.rb:112:in `accept_features'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/connection.rb:80:in `connect'
/home/pochatok/.gem/ruby/1.9/gems/mad-p-xmpp4r-0.6.3/lib/xmpp4r/client.rb:71:in `connect'
```

I don't know why it stuck, and i use CTRL+C in console to stop waiting. Can you help me?