alibaba / hessian2-codec

hessian2-codec it is a complete C++ implementation of hessian2 spec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The hessian2 specification has some errors and also some details not explained

felix021 opened this issue · comments

Not sure whether I should submit the issue here, but the specification is really confusing.

For example:

  1. binary: in the 3. Hessian Grammar section, 0x41 ('A') represents non-final trunk, while in 4.1 binary, it says x62 ('b') represents any non-final chunk

  2. string: in the 3. Hessian Grammar section, [x30-x34] <utf8-data> represents string of length 0~1023, while in 4.12. string, it's [x30-x33] b0 <utf8-data>, and has no further explanation.

I may add more cases later.

  1. int: in the 3. Hessian Grammar section, single octet integers have range -0x10 ~ 0x3f, but in 4.5.1. Compact: single octet integers, it's -16 ~ 47 (0x2f)

Ignore me. Seems not the right place for reporting problems of the spec.