Comment 12 for bug 140408

Revision history for this message
buzzdee (sebastia) wrote :

svn revision #2822 contains the reconnection implementation.

I added a variable reconnecting to the Login namespace, that is usually set to 0. In the phase of reconnection to the server due to broken network connection or whatever, the variable is set to 1.
This is to suppress annoying popup error windows that would appear on every failing reconnection try.

The reconnection timeout is not variable, I used the hardcoded value that Mirko initially used.
Shall we make it configurable in the preferences? I probably should use a variable instead of the hardcoded values.

This is only lightly tested. I tested with just shutting down my ejabberd server, and starting it up afterwards. It also works while in reconnection phase connecting to another server.

There is no real way to stop the reconnection phase, otherwise than doing a connect to a different server, or closing coccinella.
Dunno if it is necessary to e.g. use the normal login button to stop the reconnection phase.

As long as the reconnection phase happens, the status is visible in the app status at the bottom.

So please test and report back about any issues.