Experiments and WIP based on projects:
-
We could add a new
TLSErrorconstructor takingSomeExceptionto hold aQUICError(or any other type the record layer wishes). This would restore the possibility for QUIC to throw negotation failures fromquicRecv. -
See if it is possible to avoid repeating the TLS cipher in the
SecretInfodata types. Similarly, handshake mode and negotiated protocol could be available from the TLS context through API. -
More generic interface to insert/extract some content in TLS extensions. Could be applicable to TLS < 1.3 as well. And to all message types.
-
See if a better design can be found for polymorphic
RecordLayer, to avoid repetition withContentandRecordLayerarguments some functions need.