Skip to content

Commit

Permalink
fix binary protocol's first byte value.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyan-ah authored and Jens-G committed Apr 1, 2022
1 parent e165fa3 commit 15cc0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/specs/thrift-rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ always slightly faster.
## Compatibility

A server could automatically determine whether a client talks the binary protocol or the compact protocol by
investigating the first byte. If the value is `1000 0001` or `0000 0000` (assuming a name shorter than ±16 MB) it is the
investigating the first byte. If the value is `1000 0000` or `0000 0000` (assuming a name shorter than ±16 MB) it is the
binary protocol. When the value is `1000 0010` it is talking the compact protocol.

## Framed vs. unframed transport
Expand Down

0 comments on commit 15cc0c4

Please sign in to comment.