Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [2be82dcc2a] - The server now issues error messages in the synchronization protocol when a database error occurs during sync. Ticket 39f3294e213111a51e93d02fef6faa0062979619 by drh on 2008-12-07 18:48:09. [view]

To:

File src/xfer.c part of check-in [ba837fd294] - 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. by drh on 2008-12-16 18:39:29. [view]

@@ -960,9 +960,9 @@
       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