Skip to content

Commit

Permalink
fix: utls padding optioned panic
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jan 29, 2024
1 parent 4611886 commit bef8c18
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common/tls/utls_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ func (e *UTLSClientConfig) SetSessionIDGenerator(generator func(clientHello []by

func (e *UTLSClientConfig) Clone() Config {
return &UTLSClientConfig{
config: e.config.Clone(),
id: e.id,
config: e.config.Clone(),
paddingSize: e.paddingSize,
id: e.id,
}
}

Expand Down

0 comments on commit bef8c18

Please sign in to comment.