When requeueing deferred URXEs retain the order
authorMatt Caswell <matt@openssl.org>
Fri, 20 Oct 2023 11:33:25 +0000 (12:33 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Oct 2023 16:35:54 +0000 (17:35 +0100)
commit86e11b1e78ad6937ef32d64ca34013306c9abc28
tree913fd92eb244b516795cad7f053b5771718bebc5
parentacf95129bce6ea9c42558d1cd5ac7b6b5841577b
When requeueing deferred URXEs retain the order

If a URXE cannot be processed yet then we add it to the urx_deferred list.
Later, when they can be processed, we requeue them in the urx_pending list.

We must not reverse the order when doing so. We want to process the URXEs
in the order that they were received.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22452)
ssl/quic/quic_record_rx.c
test/recipes/75-test_quicapi_data/ssltraceref-zlib.txt
test/recipes/75-test_quicapi_data/ssltraceref.txt