[jdev] xmppd
Byron Ellacott
bje at apnic.net
Thu Sep 23 23:12:12 CDT 2004
I grabbed xmppd, and tried to get it working. There's a handful of
changes I needed to make to get my Gaim client able to sign on:
1) In modules/stream.py, a test "session.xmlns <> NS_CLIENT" was being
made; however session.xmlns is a list. This test was made twice, I
changed both instances to "NS_CLIENT not in session.xmlns" and, well, it
works, but I don't know if it's strictly right. :)
2) Sending a message fails, but in the 0.1 release tarball it fails by
crashing the server. In modules/router.py, the error
ERR_FEATURE_UNAVAILABLE was being used, when there is no such error, and
it probably should have been ERR_FEATURE_NOT_AVAILABLE or
ERR_SERVICE_UNAVAILABLE. I went with the former, and Gaim now
(expectedly) whines at me when I try to send a message, but the server
doesn't crash. :)
Also, the server crashes whenever a client disconnects; apparently the
unregistersession() method is being called twice, but I cannot say why
without much deeper digging.
There's definitely potential here, though.
--
bje
More information about the JDev
mailing list