提交 a75341c7 编写于 作者: J Junio C Hamano

Merge branch 'ls/packet-line-protocol-doc-fix' into maint

Correct an age-old calco (is that a typo-like word for calc)
in the documentation.

* ls/packet-line-protocol-doc-fix:
  pack-protocol: fix maximum pkt-line size
...@@ -67,9 +67,9 @@ with non-binary data the same whether or not they contain the trailing ...@@ -67,9 +67,9 @@ with non-binary data the same whether or not they contain the trailing
LF (stripping the LF if present, and not complaining when it is LF (stripping the LF if present, and not complaining when it is
missing). missing).
The maximum length of a pkt-line's data component is 65520 bytes. The maximum length of a pkt-line's data component is 65516 bytes.
Implementations MUST NOT send pkt-line whose length exceeds 65524 Implementations MUST NOT send pkt-line whose length exceeds 65520
(65520 bytes of payload + 4 bytes of length data). (65516 bytes of payload + 4 bytes of length data).
Implementations SHOULD NOT send an empty pkt-line ("0004"). Implementations SHOULD NOT send an empty pkt-line ("0004").
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册