Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

frasertweedale
Copy link
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

loxley commented Oct 8, 2013

This patch works for me after applying it.

@frasertweedale
Copy link
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