[sync] max message size approached

Karsten Fourmont fourmont at gmx.de
Thu Aug 9 17:14:33 UTC 2007


Jamie McClelland wrote:
> 
> I was digging through the code yesterday. I don't really know what is going
> on, but here's an attempt at pieceing it together: it seems like the client
> device tells the server what the maximum message size it can receive is. Then,
> the server iterates through all the records it wants to send, pushing them
> into the message, and keeping track of the total size. Once the number of
> records it has pushed into the message approaches the max message size, it
> stops, sends those records, and records that the message is full. I think the
> server is supposed to notify the client that there is more, and the client
> should re-initiate a connection to get the rest, but that doesn't happen.

you're right: this maxmsg size is the intended behaviour. The server 
indicates that this is an partial packet by not putting the <final> tag 
into the message. The client must then use a more data alert to request 
more data from the server. This is tested and works well with the 
Synthesis client.

I'm not sure why this is not working with the Blackberry SyncML devices. 
Can someone post the last message sent by the horde sycnml server? Is 
there any message from the blackberry after that?

Cheers,
  Karsten



More information about the sync mailing list