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:
Gaukas Wang 2023-08-08 19:59:17 -06:00 committed by GitHub
parent 30a2200750
commit 2ae5748ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -32,7 +32,7 @@ var (
LegacyID: true,
},
InitialMaxStreamsUni(16),
&GREASE{
&GREASETransportParameter{
IdOverride: 0xff02de1a,
ValueOverride: []byte{
0x43, 0xe8,