fix ws buf
This commit is contained in:
1 parent
35390baa92
commit
7d6fcb7d65
2 files changed
+3
-1
No files matched your search
+3
-1
@@ -92,8 +92,10 @@ func (b *Broker) StartWebsocketListening() {
|
||||
}
|
||||
|
||||
func (b *Broker) wsHandler(ws *websocket.Conn) {
|
||||
// io.Copy(ws, ws)
|
||||
atomic.AddUint64(&b.cid, 1)
|
||||
go b.handleConnection(CLIENT, ws, b.cid)
|
||||
ws.PayloadType = websocket.BinaryFrame
|
||||
b.handleConnection(CLIENT, ws, b.cid)
|
||||
}
|
||||
|
||||
func (b *Broker) StartClientListening(Tls bool) {
|
||||
|
||||
Reference in new issue
Block a user