Closed witkeysa closed 4 years ago
@witkeysa maybe u should submit this issue to dubbo-go-hessian2?
@witkeysa maybe u should submit this issue to dubbo-go-hessian2?
ok,thanks
@witkeysa I have fix this issue in https://github.com/apache/dubbo-go/pull/381 and this pr will be merged into develop branch later. pls check this branch and make sure this bug is fixed. If not, pls tell me again here.
这一段会检查长度是否大于包头长度。由下面这段调用。
但是在bufio.NewReaderSize(buf, buf.Len())中
这里创建出的reader长度永远大于16.导致包头分包时,解包异常。