quassel/quassel — pull request #46 by mamarley (2013-11-19 21:26:11+00:00)
Title: Enable the ping timeout as soon as the connection to IRC is open.

This fixes the problem where Quassel would get stuck while connecting if the socket is closed by the server but the core is, for whatever reason, not notified of this. This patch works by enabling the ping timeout as soon as the connection is open, but not actually sending any PINGs until the IRC authentication is complete. This will cause the core to reconnect if at any point it doesn't receive data from the server for more than the usual ping timeout interval.