http inspector: rename h2 to h2c#8227
Conversation
Signed-off-by: crazyxy <[email protected]>
|
@yxue actually hold on this, can you double check this work with HCM when codec is auto? I guess this line will create http1 codec if ALPN is set to "h2c": |
|
@lizan it doesn't affect the selection of the codec no matter whichever I set here. It's seems to be a bug. When selecting the codec, it searches the connection's protocol first and for raw buffer transport socket, the protocol is empty. The codec selection will fallback to searching the preface inside the request body. |
|
Can you add a comment/TODO in HCM or HTTP inspector, to use detected protocol from http inspector and support |
Signed-off-by: crazyxy <[email protected]>
Description: Rename h2 to h2c to respect the standard Risk Level: Low Testing: Unit test Docs Changes: N/A Release Notes: N/A Signed-off-by: crazyxy <[email protected]>
Description: Rename h2 to h2c to respect the standard Risk Level: Low Testing: Unit test Docs Changes: N/A Release Notes: N/A Signed-off-by: crazyxy <[email protected]>
Description: Rename h2 to h2c to respect the standard Risk Level: Low Testing: Unit test Docs Changes: N/A Release Notes: N/A Signed-off-by: crazyxy <[email protected]>
Signed-off-by: crazyxy [email protected]
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Rename h2 to h2c to respect the standard
Risk Level: Low
Testing: Unit test
Docs Changes: N/A
Release Notes: N/A
[Optional Fixes #Issue]
[Optional Deprecated:]