technoweenie / twitter-node

Discontinued: check out nTwitter
https://github.com/AvianFlu/ntwitter
MIT License
446 stars 547 forks source link

Fix for Issue #6 "reconnect on failure ?" #21

Closed cvee closed 12 years ago

cvee commented 12 years ago

Attached is a fix for issue #6. It involves adding a listener for the http.ServerRequest event 'close'. If the event is triggered, twit.stream() is called to restart the connection.

cmwelsh commented 12 years ago

I think my pull request at 5ca7fcc is a better general purpose patch. This event needs to be caught one way or another.

technoweenie commented 12 years ago

Thanks for the pull. This project is abandoned. If you're still using this, I'm definitely open to sharing collaborator and npm rights.