优化连接管理和日志记录
This commit is contained in:
@@ -53,7 +53,7 @@ func ChanRequest(c *gin.Context) {
|
||||
// 检查此 ip 是否有权限访问目标 node
|
||||
clientIp := strings.Split(content.RemoteAddr, ":")[0]
|
||||
targetNode := content.ProxyName
|
||||
slog.Debug(id + " 客户端 " + clientIp + " 请求连接到 " + targetNode)
|
||||
slog.Debug(id + " 用户 " + clientIp + " 请求连接到 " + targetNode)
|
||||
|
||||
var channels []models.Channel
|
||||
err = orm.DB.
|
||||
|
||||
Reference in New Issue
Block a user