aws / s2n-quic

An implementation of the IETF QUIC protocol
https://crates.io/crates/s2n-quic
Apache License 2.0
1.1k stars 114 forks source link

Support an asynchronous handshake #298

Open camshaft opened 3 years ago

camshaft commented 3 years ago

https://tools.ietf.org/html/draft-ietf-quic-tls-32#section-4.1.4

However, a TLS implementation could perform some of its processing asynchronously. In particular, the process of validating a certificate can take some time. While waiting for TLS processing to complete, an endpoint SHOULD buffer received packets if they might be processed using keys that aren't yet available. These packets can be processed once keys are provided by TLS.

WesleyRosenblum commented 1 month ago

This could be a good default behavior