Bug 22873 - spec is vague about when to open a Tube/FT
Summary: spec is vague about when to open a Tube/FT
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 06:58 UTC by Danielle Madeley
Modified: 2019-12-03 20:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.