Closed aatxe closed 9 years ago
After config reform (making everything optional), the backwards-incompatible configuration changes would be a non-issue.
As of 855fb1f2193f002e4cb824ca566913e421de57f0, the facilities are in place for users to auto-reconnect on disconnection, if they see it fit. There's also an example of what one auto-reconnecting setup might look like.
It should be possible to have servers automatically reconnect if the server has not sent them a message after some defined timeout period. This may involve backwards-incompatible configuration changes, if it is to be made optional in that way. It could also be implemented as an optional feature without changes to configuration (instead being determined at compile-time). This would involve adding some sort of reconnection hook and a reconnect method to Connections. For arbitrary connections, it'd default to no reconnection hook, but a reconnection hook could be supplied there as well.