Maximum Size of a data object. Currently global for all databases.
SERVER_MAXMSGSIZE
SERVER_MAXMSGSIZE
Maximum size for one sync message as defined by SyncML protocol spec.
MSG_CHUNK_LEN
MSG_CHUNK_LEN
Estimated size of an empty chunk when when splitting a message,
including MoreData tag.
When splitting a message, we have to ensure that the size of the
complete message does not exceed MaxMsgSize sent by the client.
MSG_TRAILER_LEN
MSG_TRAILER_LEN
The "safety margin" for the closing tags when finishing a message.
When exporting a data entry, we have to ensure that the size of the
complete message does not exceed MaxMsgSize sent by the client.
MSG_DEFAULT_LEN
MSG_DEFAULT_LEN
Standard size for a complete but empty SyncML message. Used in estimating
the size for a message.
CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC
CONFIG_DELETE_MAP_ON_REQUESTED_SLOWSYNC
If true the client uid<->server uid map will be deleted when a SlowSync
is requested.
This produces duplicates if there are entries in the client and the
server. This need to be true for the test conformance suite.
CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC
CONFIG_DELETE_MAP_ON_ANCHOR_MISMATCH_SLOWSYNC
If true the client uid<->server uid map will be deleted when a SlowSync
is done due to an anchor mismatch. An anchor mismatch may happen if a
session terminates unexpectedly.