keep track of total payload size

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-14 13:26:33 +02:00
parent 958ff66070
commit ba8f137885
2 changed files with 6 additions and 4 deletions

View File

@ -3,9 +3,10 @@ package tls
import "crypto/tls"
type State struct {
HasStarted bool
RemainingChunks [][]byte
TLS *tls.Conn
HasStarted bool
RemainingChunks [][]byte
TotalPayloadSize int
TLS *tls.Conn
}
func NewState() State {