This commit is contained in:
crusader 2017-11-29 02:19:21 +09:00
parent 33369b4422
commit a356983559

View File

@ -48,7 +48,7 @@ func (sh *RPCGatewayServletHandlers) Handshake(serverCTX cwf.ServerContext, ctx
} }
func (sh *RPCGatewayServletHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext { func (sh *RPCGatewayServletHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext {
socketCTX := sh.SocketContext(serverCTX) socketCTX := sh.ServletHandlers.SocketContext(serverCTX)
return newServletContext(socketCTX) return newServletContext(socketCTX)
} }
@ -73,9 +73,9 @@ func (sh *RPCGatewayServletHandlers) Handle(soc cwf.Socket, stopChan <-chan stru
rpcDoneChan := make(chan error, 1) rpcDoneChan := make(chan error, 1)
// if err = rpcServlet.Start(soc.Context(), soc, rpcDoneChan); nil != err { if err = rpcServlet.Start(soc.Context(), soc, rpcDoneChan); nil != err {
// return return
// } }
select { select {
case err = <-rpcDoneChan: case err = <-rpcDoneChan: