Suggested enhancement
After implementing incoming message defragmentation, effort should be made to properly support smaller record sizes by implementing support for max_fragment_length (RFC6066) as well as record_size_limit (RFC8449) extensions.
Justification
Mbed TLS needs this because it is popular on embedded platforms for which allocating 16K buffers is not always possible.
Suggested enhancement
After implementing incoming message defragmentation, effort should be made to properly support smaller record sizes by implementing support for max_fragment_length (RFC6066) as well as record_size_limit (RFC8449) extensions.
Justification
Mbed TLS needs this because it is popular on embedded platforms for which allocating 16K buffers is not always possible.