Tuesday, July 24, 2007

Package chunking

Right now, I'm working on the code that implements the Multiple Messages in Package functionality. It's basically there because the clients with small amounts of memory may want to slice up a SyncML package into several messages, or HTTP requests in this case, and process them separately.

SyncML clients often tell the server that it can't handle messages larger than x kB. Servers have to accept that and keep count of the output length and be ready to continue with what it was doing after the break. And since it's XML (and later, hopefully also WBXML), the data stream can't just be cut off -- it has to end gracefully.

No comments: