[Bug 34975] porter should have a fallback for no IQ handlers
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 10 11:20:44 CET 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34975
--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2011-03-10 02:20:44 PST ---
I began implementing this in Wocky, but hit weird test failures. The WIP patch
is at
<http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=commitdiff;h=refs/heads/reply-to-unhandled-iqs>.
>From the commit message:
XMPP Core requires that we reply to all IQs we receive. If no handler
claims responsibility for an incoming IQ, the porter should send back a
<service-unavailable/> error. (Currently, Gabble does this.)
For reasons I don't pretend to fully understand, this currently doesn't
work! The test this patch adds fails with:
ERROR:../../tests/wocky-test-helper.c:233:wait_sched_close_cb: assertion
failed (error == (wocky-xmpp-connection-error, 1)): Another receive
operation is pending (g-io-error-quark, 20)
And, worringly, /xmpp-porter/handler-stanza fails with an equally
inexplicable assertion:
ERROR:../../tests/wocky-test-helper.c:230:wait_sched_close_cb: assertion
failed: (s == NULL)
I think this may be related to bug 34308 which I found when writing a simple
send-a-message example program…
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list