[Pkg-haskell-maintainers] Bug#717463: hangs on connection to xmpp server that does not send <features>

Joey Hess joeyh at debian.org
Sun Jul 21 03:18:09 UTC 2013


Package: haskell-network-protocol-xmpp
Version: 0.4.4
Severity: minor

Attached pcap shows git-annex connecting to a XMPP server. This
connection hangs, because the XMPP library is expecting the server to
send a features tag, which it never does.

This seems to be a violation of RFC6120, which requires the features
tag.

However, I'm told that other XMPP clients successfully manage to connect
to this server. So perhaps the haskell library could also try to finesse
this somehow. I suppose it could assume that if the stream has been
opened and no features tag appears within some unit of time, the server
is broken, and continue with XMPP traffic as if an empty tag had been
sent.

More discussion here.
http://git-annex.branchable.com/bugs/cannot_connect_to_xmpp_server/?updated#comment-5e59ae67fbcde3c90eb3042f1b07be24

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130720/fad6879c/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list