« Return to Thread: Possible libsyncml MoreData bug?

Re: Possible libsyncml MoreData bug?

by Michael Bell :: Rate this Message:

Reply to Author | View in Thread

Josh Guilfoyle schrieb:

> I am trying to investigate a MoreData bug in libsyncml 0.4.5 that I
> can't immediately determine to have been fixed in the main repository or
> in 0.4.6, however there are comments in the diff between 0.4.5 and 0.4.6
> that lead me to suspect this is either a known bug or one needing more
> research currently.

I fixed one MoreData probelm in revision 383. libsyncml 0.4.6 is from
revision 342. I don't know if this fixes all problems. I only fixed some
kind of a state management problem. Which comments do you mean?

> Specifically, it looks like any time <MoreData> is sent by libsyncml
> (and acknowledged by the receiver by way of a 214 status), the following
> SyncML message starts the item from the beginning, so a compliant SyncML
> client would append the item's contents to some part of the item from
> the previous message.

Ticket #1.

> Also, it looks like there is the possibility that
> at some point during a session with a lot of packages ending with
> MoreData, the server will incorrectly abort the session stating "Command
> is too large".  This seems to be related to the use of Alert 222
> (NEXT_MESSAGE), which my SyncML library sends at least once due to an
> empty package sent from libsyncml.

Ticket #2.

> Does anyone have any insight into this bug?  I am willing to investigate
> and fix myself, but I'm jut not sure what is happening yet.  It seems
> like maybe this feature just isn't well tested?

I use photos in my contacts and so I test this stuff every time I
synchronize my mobile :)

Nevertheless I'm really interested to fix such bugs. Can you please open
two bugs on http://libsyncml.opensync.org/ (you must register and login
before you can do this)?

BTW actually the ticket mailing list does not work for this tracker but
a ticket is persistent and I cannot ignore it silently ...

Best regards

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
michael.bell@...   D-10099 Berlin
_______________________________________________________________

X.509 CA Certificates / Wurzelzertifikate

http://ra.pki.hu-berlin.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

smime.p7s (7K) Download Attachment

 « Return to Thread: Possible libsyncml MoreData bug?

LightInTheBox - Buy quality products at wholesale price!