Closed adotkhan closed 4 months ago
This fixes an issue introduced in https://github.com/refraction-networking/utls/pull/301 where calling BuildHanshakeStateWithoutSession with a random profile, generates a new CilentHelloSpec on each call.
BuildHanshakeStateWithoutSession
CilentHelloSpec
This PR assume that UConn.ClientHelloID is read-only and that it's value should not be modified, which is my understanding of uTLS currently operates. If this assumption is false, another workaround needs to be found.
UConn.ClientHelloID
A review of this is very much appreciated.
Thank you for the review, change applied.
This fixes an issue introduced in https://github.com/refraction-networking/utls/pull/301 where calling
BuildHanshakeStateWithoutSession
with a random profile, generates a newCilentHelloSpec
on each call.This PR assume that
UConn.ClientHelloID
is read-only and that it's value should not be modified, which is my understanding of uTLS currently operates. If this assumption is false, another workaround needs to be found.A review of this is very much appreciated.