From cef5fd6282f79392169efd39cc2106da5477696f Mon Sep 17 00:00:00 2001 From: Laurent Etiemble Date: Sun, 28 Feb 2016 12:21:41 +0100 Subject: [PATCH] Companion PR for the syncthing/syncthing#2791 Modification of the specifications to match this [pull request](https://github.com/syncthing/syncthing/pull/2791) --- specs/bep-v1.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/specs/bep-v1.rst b/specs/bep-v1.rst index 323f52a92..fe6cc028c 100644 --- a/specs/bep-v1.rst +++ b/specs/bep-v1.rst @@ -681,7 +681,7 @@ XDR hyper Modified; Vector Version; hyper LocalVersion; - BlockInfo Blocks<1000000>; + BlockInfo Blocks<10000000>; }; struct Vector { @@ -934,14 +934,14 @@ Message Type Field Limit =================== =================== ============= **All Messages** ----------------------------------------------------- -| Total length 64 MiB +| Total length 512 MiB **Index and Index Update Messages** ----------------------------------------------------- | Folder 64 bytes | Number of Files 1.000.000 | Name 8192 bytes -| Number of Blocks 1.000.000 +| Number of Blocks 10.000.000 | Hash 64 bytes | Number of Counters 1.000.000 @@ -963,6 +963,10 @@ Message Type Field Limit | Value 1024 bytes =================== =================== ============= +The currently defined values allow maximum file size of 1220 GiB +(10.000.000 x 128 KiB). The maximum message size covers an Index message +for the maximum file. + Example Exchange ----------------