netty5/handler/src
Aayush Atharva 750d23583c
Add ALPN Buffering to support HTTP/2 Prior Knowledge (#11407)
Motivation:
Currently, Netty cannot handle HTTP/2 Preface messages if the client used the Prior knowledge technique. In Prior knowledge, the client sends an HTTP/2 preface message immediately after finishing TLS Handshake. But in Netty, when TLS Handshake is finished, ALPNHandler is triggered to configure the pipeline. And between these 2 operations, if an HTTP/2 preface message arrives, it gets dropped.

Modification:

Buffer messages until we are done with the ALPN handling.

Result:
Fixes #11403.

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
2021-07-01 14:10:52 +02:00
..
main Add ALPN Buffering to support HTTP/2 Prior Knowledge (#11407) 2021-07-01 14:10:52 +02:00
test Add ALPN Buffering to support HTTP/2 Prior Knowledge (#11407) 2021-07-01 14:10:52 +02:00