테스트 코드 제거

This commit is contained in:
2023-12-19 21:21:46 +09:00
parent a7d0384413
commit b2ee40249a

View File

@ -164,8 +164,6 @@ func (ws *WebsocketPeerHandler) upgrade_nosession(w http.ResponseWriter, r *http
nonce := rand.New(rand.NewSource(time.Now().UnixNano())).Uint32() nonce := rand.New(rand.NewSource(time.Now().UnixNano())).Uint32()
ws.upgrade_core(conn, accid, nonce) ws.upgrade_core(conn, accid, nonce)
w.Write([]byte("asfadsf"))
} }
func (ws *WebsocketPeerHandler) upgrade(w http.ResponseWriter, r *http.Request) { 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() nonce := rand.New(rand.NewSource(time.Now().UnixNano())).Uint32()
ws.upgrade_core(conn, authinfo.Account, nonce) ws.upgrade_core(conn, authinfo.Account, nonce)
w.Write([]byte("asfadsf"))
} }