From b2ee40249a0fbce9e106302d096aa9b82cecc0ea Mon Sep 17 00:00:00 2001 From: mountain Date: Tue, 19 Dec 2023 21:21:46 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wshandler/wshandler_peer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wshandler/wshandler_peer.go b/wshandler/wshandler_peer.go index 1c6aaa7..763a0b7 100644 --- a/wshandler/wshandler_peer.go +++ b/wshandler/wshandler_peer.go @@ -164,8 +164,6 @@ func (ws *WebsocketPeerHandler) upgrade_nosession(w http.ResponseWriter, r *http nonce := rand.New(rand.NewSource(time.Now().UnixNano())).Uint32() ws.upgrade_core(conn, accid, nonce) - - w.Write([]byte("asfadsf")) } func (ws *WebsocketPeerHandler) upgrade(w http.ResponseWriter, r *http.Request) { @@ -204,6 +202,4 @@ func (ws *WebsocketPeerHandler) upgrade(w http.ResponseWriter, r *http.Request) // } nonce := rand.New(rand.NewSource(time.Now().UnixNano())).Uint32() ws.upgrade_core(conn, authinfo.Account, nonce) - - w.Write([]byte("asfadsf")) }