If you try to connect to (say) talk.google.com with a foo@bar.com JID, it gives you a <stream:error><host-unknown/></>. This branch exposes that as Authentication Failed for Telepathy purposes. It also adds a regression test for handling <conflict/>, since I had to work around a Loudmouth bug and my first attempt regressed. % git diff --stat master src/connection.c | 45 +++++++++++++++++++------ tests/twisted/connect/test-fail.py | 62 +++++++++++++++++++++++++++++++---- tests/twisted/gabbletest.py | 17 ++++++--- tests/twisted/ns.py | 1 + 4 files changed, 101 insertions(+), 24 deletions(-)
+1
commit 481acb3e9b846423410d7d679142f569739b3792 Merge: 4cc2eae 507aee1 Author: Will Thompson <will.thompson@collabora.co.uk> Date: Tue Apr 28 13:43:21 2009 +0100 Merge branch 'connection-errors' Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> src/connection.c | 45 +++++++++++++++++++------ tests/twisted/connect/test-fail.py | 62 +++++++++++++++++++++++++++++++---- tests/twisted/gabbletest.py | 17 ++++++--- tests/twisted/ns.py | 1 + 4 files changed, 101 insertions(+), 24 deletions(-)
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.