How should private tubes handle contact disconnection?
@gdesmott
Submitted by Guillaume Desmottes Assigned to Telepathy bugs list
Description
It's not clear how Gabble should manage the following scenario:
- Alice offers a tube to Bob
- Bob disconnects without properly close the tube
It would be good for Gabble to close it to avoid to let old tubes alive during the whole lifetime of the connection. But closing tubes when contact disconnects will break tubes if the contact was actually setting his presence to invisible.
Should we start to ping the contact when he appears to be offline? Should we rely on the bytestream connectivity checks? Should we distinguish offered and not offered yet tube channels?