Bug 22873

Summary: spec is vague about when to open a Tube/FT
Product: Telepathy Reporter: Danielle Madeley <danielle>
Component: tp-specAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: neil.loknath
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Danielle Madeley 2009-07-21 06:58:06 UTC
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.
Comment 1 Neil Loknath 2009-08-06 23:14:55 UTC
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? 
Comment 2 GitLab Migration User 2019-12-03 20:18:13 UTC
-- 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.