Fossil

Check-in [d16ccde5]
Login

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

Overview
Comment:Reduce the default maximum download limit from 20M to 5M since the smaller size seems to work much better with the latest clone refinements.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d16ccde5104564e2924b4c0eee2b055368eba2a5
User & Date: drh 2010-12-20 22:00:17
References
2010-12-21
14:04 Ticket [6c547144] fossil clone is slow status still Open with 1 other change artifact: 85432aeb user: anonymous
Context
2010-12-21
12:24
Fix the "make clean" to recursively remove subdirectories in the OBJDIR directory. Ticket [950d0186f84f38d2] check-in: 1710ccf9 user: drh tags: trunk
2010-12-20
22:00
Reduce the default maximum download limit from 20M to 5M since the smaller size seems to work much better with the latest clone refinements. check-in: d16ccde5 user: drh tags: trunk
17:29
Fix an off-by-one error in the delta generator. check-in: d7dfb5ae user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/xfer.c.

736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
  login_set_anon_nobody_capabilities();
  memset(&xfer, 0, sizeof(xfer));
  blobarray_zero(xfer.aToken, count(xfer.aToken));
  cgi_set_content_type(g.zContentType);
  blob_zero(&xfer.err);
  xfer.pIn = &g.cgiIn;
  xfer.pOut = cgi_output_blob();
  xfer.mxSend = db_get_int("max-download", 20000000);
  g.xferPanic = 1;

  db_begin_transaction();
  db_multi_exec(
     "CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);"
  );
  manifest_crosslink_begin();







|







736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
  login_set_anon_nobody_capabilities();
  memset(&xfer, 0, sizeof(xfer));
  blobarray_zero(xfer.aToken, count(xfer.aToken));
  cgi_set_content_type(g.zContentType);
  blob_zero(&xfer.err);
  xfer.pIn = &g.cgiIn;
  xfer.pOut = cgi_output_blob();
  xfer.mxSend = db_get_int("max-download", 5000000);
  g.xferPanic = 1;

  db_begin_transaction();
  db_multi_exec(
     "CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);"
  );
  manifest_crosslink_begin();