This commit is contained in:
Daniel 2024-03-25 10:23:29 +08:00
parent ffd6459540
commit fa49681cd9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 7 additions and 8 deletions

View file

@ -457,7 +457,7 @@ func serveWebSocket(ginServer *gin.Engine) {
if !authOk {
s.CloseWithMsg([]byte(" unauthenticated"))
logging.LogWarnf("closed an unauthenticated session [%s]", util.GetRemoteAddr(s))
logging.LogWarnf("closed an unauthenticated session [%s]", util.GetRemoteAddr(s.Request))
return
}