Use SSL_early_data_reason_string in EarlyDataReasonToString.
ssl_early_data_reason_t is an extensible enum. Maintaining a switch-case in
QUICHE means compile failures and general churn when BoringSSL adds new values,
switch to the newly-added SSL_early_data_reason_string function.
This is gated by a BORINGSSL_API_VERSION preprocessor check to smooth the
landing between downstream repositories. (QUICHE is incompatible with BoringSSL
HEAD due to the addition of ssl_early_data_reason_alps. This CL unblocks the
update.)
Once https://boringssl-review.googlesource.com/c/boringssl/+/43724 has rolled
into all downstream repositories, we can remove the preprocessor check.
PiperOrigin-RevId: 340322863
Change-Id: Ie139b5515ac2bc50f21c7cf682fa0f1a3993fd82
1 file changed
tree: d3c1075339382d8c6804e43177984afbb078192b
- common/
- epoll_server/
- http2/
- quic/
- spdy/
- CONTRIBUTING.md
- LICENSE
- README.md
README.md
QUICHE
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.