fix
This commit is contained in:
parent
2c537bf823
commit
64e7361d50
@ -81,7 +81,6 @@ func (l *DataTransferLogic) DataTransfer(svcCtx *svc.ServiceContext, w http.Resp
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
w.Header().Set("Connection", "Upgrade")
|
|
||||||
//鉴权不成功10秒后断开
|
//鉴权不成功10秒后断开
|
||||||
/*isAuth, _ := l.checkAuth(svcCtx, r)
|
/*isAuth, _ := l.checkAuth(svcCtx, r)
|
||||||
if !isAuth {
|
if !isAuth {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user