From b2dc806b5b65703534e899d365d1616a0603e066 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 25 Aug 2017 11:07:55 +0900 Subject: [PATCH] ing --- clients/client.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clients/client.go b/clients/client.go index 365f652..314c993 100644 --- a/clients/client.go +++ b/clients/client.go @@ -58,9 +58,11 @@ func (c *client) RequestCtx() *fasthttp.RequestCtx { func (c *client) run() { hasReadTimeout := c.o.ReadTimeout > 0 c.conn.SetReadLimit(c.o.MaxMessageSize) - // defer func() { - // c.o.OnDisconnected(c) - // }() + defer func() { + c.o.OnDisconnected(c) + }() + + log.Printf("Path:%s", string(c.fastHTTPCtx.Path())) for { if hasReadTimeout {