mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
down机问题
This commit is contained in:
@@ -197,6 +197,7 @@ func (slf *BaseMessageReciver) OnHandleHttp(w http.ResponseWriter, r *http.Reque
|
||||
conn, err := websocket.Upgrade(w, r, w.Header(), 1024, 1024)
|
||||
if err != nil {
|
||||
http.Error(w, "Could not open websocket connection", http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
pclient := slf.WsServer.CreateClient(conn)
|
||||
|
||||
Reference in New Issue
Block a user