Fossil

Check-in [9413c773]
Login

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

Overview
Comment:Fix a bug that prevented clients from pushing SHA3 content up to servers.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9413c77358c094c54475f279cad07e6654590e22
User & Date: drh 2017-03-03 16:26:51
Context
2017-03-06
08:57
(cherry-pick): Fix a bug that prevented clients from pushing SHA3 content up to servers. Closed-Leaf check-in: f41f6f33 user: jan.nijtmans tags: branch-2.0
2017-03-03
19:33
Improve stash diff commands when using external diff tool to make it behave a little bit more like the "fossil gdiff" command. check-in: 2a47673a user: mgagnon tags: trunk
19:29
merge trunk Closed-Leaf check-in: 5e19d731 user: mgagnon tags: stash-gdiff-improvement
16:26
Fix a bug that prevented clients from pushing SHA3 content up to servers. check-in: 9413c773 user: drh tags: trunk
13:49
Update custom makefile check-in: 6fc3bf94 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfer.c.

1766
1767
1768
1769
1770
1771
1772

1773
1774
1775
1776
1777
1778
1779
  transport_stats(0, 0, 1);
  socket_global_init();
  memset(&xfer, 0, sizeof(xfer));
  xfer.pIn = &recv;
  xfer.pOut = &send;
  xfer.mxSend = db_get_int("max-upload", 250000);
  xfer.maxTime = -1;

  if( syncFlags & SYNC_PRIVATE ){
    g.perm.Private = 1;
    xfer.syncPrivate = 1;
  }

  blobarray_zero(xfer.aToken, count(xfer.aToken));
  blob_zero(&send);







>







1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
  transport_stats(0, 0, 1);
  socket_global_init();
  memset(&xfer, 0, sizeof(xfer));
  xfer.pIn = &recv;
  xfer.pOut = &send;
  xfer.mxSend = db_get_int("max-upload", 250000);
  xfer.maxTime = -1;
  xfer.clientVersion = RELEASE_VERSION_NUMBER;
  if( syncFlags & SYNC_PRIVATE ){
    g.perm.Private = 1;
    xfer.syncPrivate = 1;
  }

  blobarray_zero(xfer.aToken, count(xfer.aToken));
  blob_zero(&send);