tgalal/yowsup — pull request #161 by cybertim (2013-09-04 08:12:04+00:00)
Title: fixed timeout issue

When you get:

ReaderThread: Waiting, time to die: T-180 seconds
ReaderThread: Waiting, time to die: T-150 seconds
ReaderThread: Waiting, time to die: T-120 seconds
ReaderThread: Socket closed, got 0 bytes!
ReaderThread: Sending disconnected because of closed

Try this fix, it will send a ping around each 30secs and the issue is solved!
AutoPing is on by default.

Also fixed the executable permission to use the yowsup-cli.