[JDEV] Jabber Server bug

Ryan Eatmon reatmon at ti.com
Fri Jan 7 06:56:07 CST 2000


Here is another bug/flaw in the Jabber server.  Consider if you the
following exchange in order as listed:  (I've tested this and get the
same result every time...)

A logs in but does not send a <presence/> tag yet.

A gets any off-line messages because the server checks for them at this
point.

B logs in and sends A a message.  A does not have presence yet so the
message goes off-line as it should.

A sends a <presence/> tag to tell the server that they are accepting
messages.

B sends another message.

A receives the second message, but the first message is still off-line.

A never gets the off-line message when he sends the <presence/> tag. 
Instead he won't get it until he logs off and back on.

This is either a bug or an oversight in design.  But when A tells the
server that it is ready to receive messages it should mean ALL messages,
not just new ones.

Anyone agree?

-- 

Ryan Eatmon                reatmon at ti.com
-----------------------------------------
Mixed Signal Product Development EDA Team




More information about the JDev mailing list