fix a bunch more

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-15 01:21:12 +02:00
parent a71532b3e3
commit df21e678d6
5 changed files with 89 additions and 24 deletions

View File

@ -10,12 +10,12 @@ type State struct {
RemainingChunks [][]byte
TotalPayloadSize int
TLS *tls.Conn
Conn TLSConnection
Conn *TLSConnection
Context context.Context
}
func NewState() State {
return State{
func NewState() *State {
return &State{
RemainingChunks: make([][]byte, 0),
}
}