Skip to content

fix TLS crash by removing obsolete twitter-stream patch#140

Open
frasertweedale wants to merge 3 commits into
jugyo:masterfrom
frasertweedale:fix-start-tls
Open

fix TLS crash by removing obsolete twitter-stream patch#140
frasertweedale wants to merge 3 commits into
jugyo:masterfrom
frasertweedale:fix-start-tls

Conversation

@frasertweedale
Copy link
Copy Markdown
Contributor

earthquake is working around an issue in old releases of
twitter-stream where reconnections were not honouring
@options[:ssl].

This issue was fixed in twitter-stream-0.1.15, and the now
unnecessary monkey-patch crashes the program upon reconnect.

Require twitter-stream ~> 0.1.15 and remove the monkey-patch
to make the crashes go away.

@loxley
Copy link
Copy Markdown

loxley commented Oct 8, 2013

This patch works for me after applying it.

@frasertweedale
Copy link
Copy Markdown
Contributor Author

Rebased on latest master (d5fef09, 5 Nov 2013).

earthquake is working around an issue in old releases of
twitter-stream where reconnections were not honouring
@options[:ssl].

This issue was fixed in twitter-stream-0.1.15, and the now
unnecessary monkey-patch crashes the program upon reconnect.

Require twitter-stream ~> 0.1.15 and remove the monkey-patch
to make the crashes go away.
twitter-stream ~> 0.1.16 takes care of reconnecting when no data has
been received for a while.  With earthquake also doing this, strange
behaviour occurs when twitter-stream 0.1.16 is used.

Update the dependency to twitter-stream ~> 0.1.16 and remove the
reconnect-on-timeout code from Earthquake::Core to restore normal
behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants