[sync] max message size approached

Jamie McClelland jm at mayfirst.org
Thu Aug 9 13:06:45 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu Aug 09, munzli wrote:
> hi
>
> if anybody needs more logs i have the exact same problem with a nokia 
> communicator. and would be glad to find out why exactly i get this problem 
> only with the communicator and not other nokia phones.
>
> cheers
> munzli

Thanks Munzli,

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.

I think this could explain why it only affects some devices - based on the max
message size they are sending to the server.

Anyone who really knows what's going on - please correct my mistakes!
jamie



- -- 
Jamie McClelland
718-303-3204 ext. 101

May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
Members Local 1180, Communications Workers of America, AFL-CIO

PGP Key: http://mayfirst.org/jamie-pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGuxFknq83YnbMBX0RAiPAAJ463TLoOwv7rxkxT3E5D0L50buH3gCaAmAh
fm60Kub+w2YLfMuvzmn+Sek=
=S1P3
-----END PGP SIGNATURE-----


More information about the sync mailing list