remove PacketPaddingContainer abstraction

This commit is contained in:
Shelikhoo 2025-02-13 14:01:04 +00:00
parent 955cbc847a
commit 1bc310c2e9
No known key found for this signature in database
GPG key ID: 4C9764E9FE80A3DC
6 changed files with 42 additions and 62 deletions

View file

@ -143,7 +143,7 @@ func (handler *httpHandler) turboTunnelUDPLikeMode(conn *websocketconn.Conn, add
wg.Add(2)
done := make(chan struct{})
connPaddable := packetpadding.NewPaddableConnection(conn, packetpadding.New())
connPaddable := packetpadding.NewPaddableConnection(conn)
// The remainder of the WebSocket stream consists of packets, one packet
// per WebSocket message. We read them one by one and feed them into the