You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0bc3140
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: book/src/reference/protocol.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ a change to it needs no new version.
25
25
| Item | Value |
26
26
| --- | --- |
27
27
| ALPN |`irsync/1`|
28
-
|`PROTOCOL_VERSION`|`10`, carried in `Hello.protocol_version`|
28
+
|`PROTOCOL_VERSION`|`11`, carried in `Hello.protocol_version`|
29
29
| Framing | A protobuf varint length (at most 4 bytes for `MAX_FRAME`), then that many bytes of one protobuf message: protobuf's standard length-delimited form |
30
30
|`MAX_FRAME`| 16 MiB. A longer length is refused before anything is allocated for it. |
31
31
| Content hash | BLAKE3, 32 bytes, for chunks and whole files |
@@ -165,6 +165,13 @@ whether the session was resumed, the daemon's `BuildInfo`, the daemon's
165
165
`ack` without a `platform` as a failed start. Each side logs the
166
166
other's build at info level once the session is up.
167
167
168
+
The `ack` also carries `socket_buffers`: the UDP receive and send buffer
169
+
sizes, in bytes, that the daemon's kernel granted a socket asking for 7 MiB
170
+
each way, probed once at startup, and the daemon's `os`, which says which
171
+
command raises the limit there. The client warns when either size is below
172
+
7 MiB (see [Tune the kernel for long-distance links](../how-to/troubleshooting.md#tune-the-kernel-for-long-distance-links)). A daemon that did not probe
173
+
(Windows) sends none.
174
+
168
175
`list_exports` is answered with `exports`: the exports this key may use with
169
176
their paths and effective access, sorted by name. The daemon then closes the
0 commit comments