fix
This commit is contained in:
parent
3d000cdc14
commit
91c984db43
|
@ -124,6 +124,7 @@ func (l *DataTransferLogic) DataTransfer(w http.ResponseWriter, r *http.Request)
|
|||
//有token是正常用户,无则是白板用户,也可以连接
|
||||
if secWebsocketProtocol != "" {
|
||||
s := strings.Split(secWebsocketProtocol, ",")
|
||||
fmt.Println("子协议传输值:", s)
|
||||
if len(s) != 2 {
|
||||
w.Write([]byte("invalid secWebsocketProtocol param"))
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user