mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 04:27:36 +03:00
fix: poorly named qtps (#215)
- Rename GREASE to GREASETransportParameter. - Rename Padding to PaddingTransportParameter. - Adding GREASE QTP ID check against `id >= 27`. Otherwise `max_ack_delay = 11` will be incorrectly recognized as a GREASE value.
This commit is contained in:
parent
30a2200750
commit
2ae5748ff0
2 changed files with 10 additions and 10 deletions
|
@ -32,7 +32,7 @@ var (
|
|||
LegacyID: true,
|
||||
},
|
||||
InitialMaxStreamsUni(16),
|
||||
&GREASE{
|
||||
&GREASETransportParameter{
|
||||
IdOverride: 0xff02de1a,
|
||||
ValueOverride: []byte{
|
||||
0x43, 0xe8,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue