CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/09/16 11:02:54

Modified files:
        lib/libssl     : d1_pkt.c 

Log message:
Reduce size of DTLS queues for unprocessed records and application data.

DTLS currently buffers records that contain handshake messages and alerts,
which are in the next epoch and cannot yet be processsed. This is done by
saving the entire buffer that is 16KB in size, regardless of the actual
bytes sent on the wire. With a queue limit of 100 it is possible to send a
small number of bytes on the wire and have the server allocate 1.6MB -
reducing the limit to 16 reduces the allocation to 256KB. This queue will
soon be removed entirely.

DTLS also currently buffers record content from application data where the
handshake has not yet finished. This only buffers the actual content
received on the wire and does not suffer from the same problem, however
reduce the queue size to further limit memory consumption.

ok kenjiro@ tb@

Reply via email to