默认关闭 idle_timeout

This commit is contained in:
bjdgyc 2024-03-18 17:54:45 +08:00
parent 09160a6891
commit fc3b39e09f
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func LinkDtls(conn net.Conn, cSess *sessdata.ConnSession) {
base.Debug("DISCONNECT DTLS", cSess.Username, cSess.IpAddr, conn.RemoteAddr())
return
case 0x03: // DPD-REQ
base.Trace("recv LinkDtls DPD-REQ", cSess.Username, cSess.IpAddr, conn.RemoteAddr(), n, pl.Data[:n], string(pl.Data[1:n]))
base.Trace("recv LinkDtls DPD-REQ", cSess.Username, cSess.IpAddr, conn.RemoteAddr(), n, pl.Data[:n])
pl.PType = 0x04
// 从零开始 可以直接赋值
pl.Data = pl.Data[:n]