Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
@@ -72,6 +72,8 @@ func (c *jsonpbCodec) ReadBody(conn io.Reader, b interface{}) error {
buf, err := ioutil.ReadAll(conn)
if err != nil {
return err
} else if buf == nil {
return nil
}
return JsonpbUnmarshaler.Unmarshal(buf, m)
The note is not visible to the blocked user.