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.
Vary occasionally, I am seeing FT.ProvideFile return after the FT goes to Open state. I expect the Open state to always come after ProvideFile returns. Is this expected behaviour?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-spec/issues/27.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.