Skip to content
Snippets Groups Projects
Commit e7191006 authored by fangyincheng's avatar fangyincheng
Browse files

Fix:bug

parent e21eb408
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ func (p *RpcClientPackageHandler) Read(ss getty.Session, data []byte) (interface
resp, length, err := (p.client.codec).Decode(data)
//err := pkg.Unmarshal(buf, p.client)
if err != nil {
err = perrors.Cause(err)
if err == hessian.ErrHeaderNotEnough || err == hessian.ErrBodyNotEnough {
return nil, 0, nil
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment