diff --git a/common/tls/utls_client.go b/common/tls/utls_client.go index e2e1b6069c..88decceb5b 100644 --- a/common/tls/utls_client.go +++ b/common/tls/utls_client.go @@ -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, } }