diff --git a/servlet/rpc-servlet.go b/servlet/rpc-servlet.go index f3d7011..c6ef0eb 100644 --- a/servlet/rpc-servlet.go +++ b/servlet/rpc-servlet.go @@ -67,6 +67,9 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx, } reply, err = s.RPCInvoker.Invoke(src) + if !src.HasResponse() { + break + } replyBuff, err = src.NewResponse(reply, err) if nil != err { logging.Logger().Error(err)