Overview
SHA1 Hash: | ba837fd29499a4e740c1c749401f88980fcfdcdb |
---|---|
Date: | 2008-12-16 18:39:29 |
User: | drh |
Comment: | Add randomness in the form of a comment to each sync protocol request. This will break older servers which do not understand comments. But comments have been understood by servers for months now, so hopefully everybody has upgraded. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/xfer.c from [bf89ac3d22] to [cc749b7254].
@@ -959,11 +959,11 @@ } configSendMask = 0; } /* Append randomness to the end of the message */ -#if 0 /* Enable this after all servers have upgraded */ +#if 1 /* Enable this after all servers have upgraded */ zRandomness = db_text(0, "SELECT hex(randomblob(20))"); blob_appendf(&send, "# %s\n", zRandomness); free(zRandomness); #endif