summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorjsing <>2021-07-21 08:42:14 +0000
committerjsing <>2021-07-21 08:42:14 +0000
commit67063c5ad51de8a429ef4b75620cd2275b75782c (patch)
treebae082e5c4f00caf24ddf7d2b8bb7f2636f17592 /src/lib/libc/stdlib
parent9d9ae9aff0e9bd5baa9a63ea2820e82a6ad70651 (diff)
downloadopenbsd-67063c5ad51de8a429ef4b75620cd2275b75782c.tar.gz
openbsd-67063c5ad51de8a429ef4b75620cd2275b75782c.tar.bz2
openbsd-67063c5ad51de8a429ef4b75620cd2275b75782c.zip
Remove DTLS processed_rcds queue.
When DTLS handshake records are received from the next epoch, we will potentially queue them on the unprocessed_rcds queue - this is usually a Finished message that has been received without the ChangeCipherSuite (CCS) message (which may have been dropped or reordered). After the epoch increments (due to the CCS being received), the current code processes all records on the unprocessed queue and immediate queues them on the processed queue, which dtls1_get_record() then pulls from. This form of processing only adds more complexity and another queue. Instead, once the epoch increments, pull a single record from the unprocessed queue and process it, allowing the contents to be consumed by the caller. We repeat this process until the unprocessed queue is empty, at which point we go back to consuming messages from the wire. ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions