This commit is contained in:
crusader 2018-04-19 23:39:46 +09:00
parent 043159202a
commit a5a918287b

View File

@ -67,6 +67,9 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx,
} }
reply, err = s.RPCInvoker.Invoke(src) reply, err = s.RPCInvoker.Invoke(src)
if !src.HasResponse() {
break
}
replyBuff, err = src.NewResponse(reply, err) replyBuff, err = src.NewResponse(reply, err)
if nil != err { if nil != err {
logging.Logger().Error(err) logging.Logger().Error(err)