I'd be interested in auto reconnection logic. Would this be useful to anyone else?
I get several disconnects per day due to laptop sleeping/resuming and changing network interfaces.
xmpp-client output after disconnection:
* (11:15AM) EOF
* (11:15AM) Exiting because channel to server closed
It looks like the password already remains in memory during the entire session:
|
password := config.Password |
.
I'd be interested in auto reconnection logic. Would this be useful to anyone else?
I get several disconnects per day due to laptop sleeping/resuming and changing network interfaces.
xmpp-client output after disconnection:
It looks like the password already remains in memory during the entire session:
xmpp-client/ui.go
Line 234 in 8142601