Hello Yongsheng, On Dec 9, 2009, at 10:20 , Zhu, Yongsheng wrote:
> Hello! > Our nightly test shows that there is an issue of size mismatch for chunked > objects(see status code 424). > > The failure is that Memotoo declares the total size '8429' in its first chunk > but synthesis(syncevolution's core) calculates all chunks > as '8442', which is correct in characters after investigation. The reason why > Memotoo sets > it as '8429' is, I think, because there are 13(8442-8429) pairs of '\r' '\n' > in these chunkes. Naturally > synthesis treats one pair as 2 in size. Memotoo may treat it as 1 when > counting the total size. > > Thomas, > For memotoo, is it your expected behavior of Memotoo server? > > Lukas, > For synthesis, if size is mismatched, then the item is given up. Do we need > do this kind of strict checking? We could probably just ignore size errors and hope that the chunks glued together will still make sense for the content parser. > Does synthesis have an option to control this? Not at this time. Could probably be added, and if, I'd make that dependent on "lenient mode" in order not to compromise integrity checking in general. However, I hope this is not needed and Memotoo will be able to fix their count :-) Best Regards, Lukas Zeller ([email protected]) - Synthesis AG, SyncML Solutions & Sustainable Software Concepts [email protected], http://www.synthesis.ch _______________________________________________ os-libsynthesis mailing list [email protected] http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
