From 92bcac17911011e7fb01a8905b9c19c0402dfc9d Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Tue, 7 Feb 2017 17:51:00 +0200 Subject: [PATCH] Silly fix https://github.com/kataras/iris/issues/602 --- server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server.go b/server.go index 34b2163..ad74868 100644 --- a/server.go +++ b/server.go @@ -274,12 +274,12 @@ func (s *server) HandleConnection(websocketConn UnderlineConnection) { for i := range s.onConnectionListeners { s.onConnectionListeners[i](c) } - - // start the messages reader - c.startReader() - + // start the ping c.startPinger() + + // start the messages reader + c.startReader() }