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")) }