sofastack / sofa-bolt-python

The Python implementation of the SOFABolt protocol.
Apache License 2.0
47 stars 14 forks source link

infinite loop/raise exception while parsing sofaheader #2

Closed wanderxjtu closed 5 years ago

wanderxjtu commented 5 years ago

Java bolt client might send null in sofa header, which encoded as -1(\xff\xff\xff\xff) in bytestream. will cause anthunder infinite loop (<0.5.5) or raise DecodeError (0.5.5)