bump pion/stun to v3 to fix vulnerability (#5245)

This commit is contained in:
Oleksandr Redko
2026-03-29 17:45:23 +03:00
committed by GitHub
parent 5ed02275da
commit c694b1f6a9
5 changed files with 67 additions and 83 deletions

View File

@@ -19,7 +19,7 @@ import (
"net"
"time"
"github.com/pion/stun/v2"
"github.com/pion/stun/v3"
)
var responseTimeout = 3 * time.Second

View File

@@ -21,7 +21,7 @@ import (
"strconv"
"github.com/fatedier/golib/crypto"
"github.com/pion/stun/v2"
"github.com/pion/stun/v3"
"github.com/fatedier/frp/pkg/msg"
)