spec is vague about when to open a Tube/FT
@danni
Submitted by Danielle Madeley Assigned to Telepathy bugs list
Description
The spec implies that you should wait until a Tube moves to the Open state before attempting to connect to it, but that the Accept call will already have returned by this time (similarly for File Transfer).
For stream tubes at least, this appears to not be the case, you need to wait for BOTH the Accept() call to return AND the Open state, but the order is not guaranteed. This is fine, but we should clarify this in the spec for both types of Tubes and for FT.