You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by yu...@apache.org on 2022/03/31 21:49:07 UTC

[thrift] branch master updated: THRIFT-5541: Clarify on THeader key/value format in the spec

This is an automated email from the ASF dual-hosted git repository.

yuxuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new e165fa3  THRIFT-5541: Clarify on THeader key/value format in the spec
e165fa3 is described below

commit e165fa3c85d00cb984f4d9635ed60909a1266ce1
Author: Yuxuan 'fishy' Wang <yu...@reddit.com>
AuthorDate: Wed Mar 30 13:37:19 2022 -0700

    THRIFT-5541: Clarify on THeader key/value format in the spec
    
    [skip ci]
---
 doc/specs/HeaderFormat.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/specs/HeaderFormat.md b/doc/specs/HeaderFormat.md
index 9b74159..bcd1e2d 100644
--- a/doc/specs/HeaderFormat.md
+++ b/doc/specs/HeaderFormat.md
@@ -78,5 +78,6 @@ This allows us to distinguish between different (older) transports.
 
     INFO_KEYVALUE 0x01 - varint32 number of headers.
                        - key/value pairs of varstrings (varint16 length plus
-                         no-trailing-null string).
+                         no-trailing-null string). Implementations MUST NOT
+                         alter either key or value in any way.