优化连接管理和日志记录

This commit is contained in:
2025-02-27 23:11:36 +08:00
parent 38d5341e84
commit 037c2c53c6
11 changed files with 436 additions and 403 deletions

View File

@@ -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.