tweetstream / em-twitter

Twitter Streaming API client for EventMachine
http://rubygems.org/gems/em-twitter
MIT License
42 stars 16 forks source link

fix newline handling logic #14

Closed rhenium closed 10 years ago

rhenium commented 10 years ago

Hi, Newlines in stream must update @last_response.timestamp. https://dev.twitter.com/docs/streaming-apis/messages#Blank_lines

This commit https://github.com/tweetstream/em-twitter/commit/470d7be82ca421118384397b36a6ff1c0c43f4e7 may invoke no_data_received in slow streams.

stve commented 10 years ago

Nice catch, thanks.