voloko:twitter-stream (0.1.16), JSONStream#send_request never gets called because Twitter::JSONStream.connect(options) hangs... eventually dying with "Tried 11 times to connect."
Resolution provided by this request (0.1.17), options calling JSONStream::connect
...by the time JSONStream::connect finishes, host, options[:host], port, and options[:port] are overwritten to things that allow EventMachine.bind_connect to work.
JSONStream#send_request is called, and options looks as such at the bottom
(First pull request. Apologize for the over-verbosity.)
To resolve https://github.com/voloko/twitter-stream/issues/35 seen where EventMachine.bind_connect would fail to create a connection through a Squid web proxy. At worst, this just allows an alternative to what bgreenlee proposed in https://github.com/voloko/twitter-stream/issues/2.
Problem: voloko:twitter-stream (0.1.16), options calling JSONStream::connect
voloko:twitter-stream (0.1.16), options inside of JSONStream::connect
voloko:twitter-stream (0.1.16), JSONStream#send_request never gets called because Twitter::JSONStream.connect(options) hangs... eventually dying with "Tried 11 times to connect."
Resolution provided by this request (0.1.17), options calling JSONStream::connect
...options inside of JSONStream::connect
...by the time JSONStream::connect finishes,
host
,options[:host]
,port
, andoptions[:port]
are overwritten to things that allow EventMachine.bind_connect to work.JSONStream#send_request is called, and options looks as such at the bottom
..., headers at bottom of JSONStream#send_request