mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-15 00:04:46 +08:00
整理日志与ping自定义
This commit is contained in:
@@ -121,7 +121,6 @@ func (slf *WebsocketServer) startListen() {
|
||||
|
||||
if err != nil {
|
||||
service.GetLogger().Printf(sysmodule.LEVER_FATAL, "http.ListenAndServe(%d, nil) error:%v\n", slf.port, err)
|
||||
fmt.Printf("http.ListenAndServe(%d, nil) error\n", slf.port)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
@@ -159,7 +158,6 @@ func (slf *WebsocketServer) Disconnect(clientid uint64) {
|
||||
}
|
||||
|
||||
value.conn.Close()
|
||||
//slf.ReleaseClient(value)
|
||||
}
|
||||
|
||||
func (slf *WebsocketServer) Stop() {
|
||||
|
||||
Reference in New Issue
Block a user