BSTester/dubbo-python

decoder BUG

Opened this issue · 0 comments

decoder 中 read_string 函数

  1. while value == ord('R'): R没有加 ord
  2. while 内的 string += self._read_utf(length).decode('utf-8') 也没加 decode('urt-8')
  3. 同样 while 内的 unpack('>H', a) 我这边 dubbo 应该用 '>H' 来取值,不确定这个是不是都这样

我对这个了解不多,只能根据自己公司的环境调试,不确定是不是通用的,上面几个问题应该可以确认是BUG