bitcoin/bitcoin — pull request #2784 by sipa (2013-06-22 17:17:37+00:00)
Title: Reduce keepalive ping/timeout

* Send a keep-alive every minute instead of 30 minutes. With current traffic rates, no message in a minute shouldn't ever happen anyway.
* Disconnect after 3 minutes of inactivity instead of 90.

This should make detection of stalled connections much faster.