mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 20:47:36 +03:00
feat: parse GREASE ECH from raw (#276)
This commit is contained in:
parent
f8beb04616
commit
42e79cb29a
4 changed files with 194 additions and 6 deletions
|
@ -43,6 +43,8 @@ func ExtensionFromID(id uint16) TLSExtension {
|
|||
return &FakeTokenBindingExtension{}
|
||||
case utlsExtensionCompressCertificate:
|
||||
return &UtlsCompressCertExtension{}
|
||||
case fakeRecordSizeLimit:
|
||||
return &FakeRecordSizeLimitExtension{}
|
||||
case fakeExtensionDelegatedCredentials:
|
||||
return &FakeDelegatedCredentialsExtension{}
|
||||
case extensionSessionTicket:
|
||||
|
@ -73,8 +75,8 @@ func ExtensionFromID(id uint16) TLSExtension {
|
|||
return &FakeChannelIDExtension{true}
|
||||
case fakeExtensionChannelID:
|
||||
return &FakeChannelIDExtension{}
|
||||
case fakeRecordSizeLimit:
|
||||
return &FakeRecordSizeLimitExtension{}
|
||||
case utlsExtensionECH:
|
||||
return &GREASEEncryptedClientHelloExtension{}
|
||||
case extensionRenegotiationInfo:
|
||||
return &RenegotiationInfoExtension{}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue