powered by Jive Software

Bug in disco error responses

Yesterday my group got a note from Peter Saint-Andre saying that our client software was spewing packets back and forth with iChat.

This was both our fault and iChat’‘s fault, but it appears that Smack isn’'t following the strict letter of the Service Discovery JEP. It receives a disco#info query:

error since a client doesn’'t have nodes

  •                    response.setNode(discoverInfo.getNode());


response.setError(new XMPPError(404, “item-not-found”));


Unless I did it wrong, you probably want to pick up that change.

Hey Andrew:

Thanks for the bug report! The fix has been implemented - SMACK-126 - and you will be able to find it in the next nightly build.