테스트 코드 제거
This commit is contained in:
@ -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"))
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user