From a5a918287b343b586e3abfd1a269ded7a6452b94 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 19 Apr 2018 23:39:46 +0900 Subject: [PATCH] ing --- servlet/rpc-servlet.go | 3 +++ 1 file changed, 3 insertions(+) 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)