From 724ed780bf1603dd948135a80b15b960d844cae8 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 29 Nov 2017 01:58:56 +0900 Subject: [PATCH] ing --- server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.go b/server.go index d2b2bb0..47abf85 100644 --- a/server.go +++ b/server.go @@ -143,12 +143,14 @@ func (s *server) handleRequest(ctx *fasthttp.RequestCtx) { s.handleError(ctx, http.StatusNotAcceptable, fmt.Errorf("Server: Handshake err")) return } + logging.Logger().Debug(fmt.Sprintf("Server: Client is Handshake.")) s.upgrader.Upgrade(ctx, responseHeader, func(conn *websocket.Conn, err error) { if err != nil { s.handleError(ctx, fasthttp.StatusInternalServerError, err) return } + logging.Logger().Debug(fmt.Sprintf("Server: Client is Upgrade.")) socketCTX := socketHandler.SocketContext(s.ctx) soc := newSocket(socketHandler, socketCTX, conn, socketID)