Summary: | finalising Jingle session too early causes error for unknown session | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Danielle Madeley <danielle> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | will |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Danielle Madeley
2011-01-31 17:15:43 UTC
* unknown-session xmlns='urn:xmpp:jingle:errors:1' This is actually defined by <http://xmpp.org/extensions/xep-0166.html#errors> to mean: > The 'sid' attribute specifies a session that is unknown to the recipient > (e.g., no longer live according to the recipient's state machine because > the recipient previously terminated the session). <http://xmpp.org/extensions/xep-0166.html#session-terminate> goes so far as to say: > Note: As soon as an entity sends a session-terminate action, it MUST > consider the session to be in the ENDED state (even before receiving > acknowledgement from the other party). If the terminating entity receives > additional Jingle-related IQ-sets from the other party after sending the > session-terminate action, it MUST reply with an <unknown-session/> error. so this error is actually required by the spec! But I wrote a quick test for it and found that I broke this last March. Gabble's been sending <gone> instead since then. I pushed a fix and the test to master. http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=ecee60dfc |
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.