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

Fix:bug

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