Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix an off-by-one error in the version-3 clone protocol. This error might cause an incomplete and corrupt clone if a transfer block fills up just before sending the very last blob. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0db6f981bfc037ae7b153cca7e702713 |
User & Date: | drh 2012-08-23 21:15:36.378 |
Context
2012-08-23
| ||
21:18 | Merge in the mingw build enhancements. ... (check-in: 5253e0a7 user: drh tags: trunk) | |
21:15 | Fix an off-by-one error in the version-3 clone protocol. This error might cause an incomplete and corrupt clone if a transfer block fills up just before sending the very last blob. ... (check-in: 0db6f981 user: drh tags: trunk) | |
20:56 | Detect infinite loops in the DELTA table and abort out of content_get() when they are found. ... (check-in: 791fd2fd user: drh tags: trunk) | |
Changes
Changes to src/xfer.c.
︙ | ︙ | |||
1044 1045 1046 1047 1048 1049 1050 | if( iVers>=3 ){ send_compressed_file(&xfer, seqno); }else{ send_file(&xfer, seqno, 0, 1); } seqno++; } | | | 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 | if( iVers>=3 ){ send_compressed_file(&xfer, seqno); }else{ send_file(&xfer, seqno, 0, 1); } seqno++; } if( seqno>max ) seqno = 0; @ clone_seqno %d(seqno) }else{ isClone = 1; isPull = 1; deltaFlag = 1; } @ push %s(db_get("server-code", "x")) %s(db_get("project-code", "x")) |
︙ | ︙ |