CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/08/20 20:23:33

Modified files:
        lib/libssl     : tls13_record.c 

Log message:
Allocate TLS 1.3 receive buffers lazily

The receive buffer is not used for records created for sending. Avoid
allocating a maximum-sized buffer in tls13_record_new() and instead
allocate a header-sized buffer when tls13_record_recv() is first called.
The buffer will grow as needed once the record length is known.

This avoids an unnecessary allocation for outgoing records and reduces
the initial allocation size for incoming records.

ok tb jsing

Reply via email to