Fossil

Check-in [0feed850]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Always do another sync round if any file is received.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0feed85090d52ba67cbc16e76ef4b4e48e310227
User & Date: drh 2007-07-23 20:42:40
Context
2007-07-24
12:52
Documentation updates check-in: b807acf6 user: drh tags: trunk
2007-07-23
20:42
Always do another sync round if any file is received. check-in: 0feed850 user: drh tags: trunk
20:40
More improvements to network sync. check-in: 4ee118a6 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfer.c.

580
581
582
583
584
585
586

587
588
589
590
591
592
593
      **   file UUID DELTASRC SIZE \n CONTENT
      **
      ** Receive a file transmitted from the other side
      */
      if( blob_eq(&aToken[0],"file") ){
        xfer_accept_file(&recv, aToken, nToken, &errmsg);
        nFile++;

      }else

      /*   gimme UUID
      **
      ** Server is requesting a file
      */
      if( blob_eq(&aToken[0], "gimme") && nToken==2







>







580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
      **   file UUID DELTASRC SIZE \n CONTENT
      **
      ** Receive a file transmitted from the other side
      */
      if( blob_eq(&aToken[0],"file") ){
        xfer_accept_file(&recv, aToken, nToken, &errmsg);
        nFile++;
        go = 1;
      }else

      /*   gimme UUID
      **
      ** Server is requesting a file
      */
      if( blob_eq(&aToken[0], "gimme") && nToken==2