]> git.ipfire.org Git - thirdparty/openssl.git/commit
Do read retries in quic hq-interop server
authorNeil Horman <nhorman@openssl.org>
Sun, 15 Dec 2024 20:26:41 +0000 (15:26 -0500)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
commita99c76d94cc4744f94cfbe16cb9e465f9bf35582
tree7700d034070f273bc691dace76234b1da3ea566f
parenteabdcadefa31406d8a39b9d17617f9d1bb60e1c1
Do read retries in quic hq-interop server

Normally the throughput test in the interop harness requests several
hundred very small files, resulting in lots of small stream packets from
the client, which are nominally read in a single read operation (as they
typically fit into a single stream frame), and the server was written to
expect that.  However, its still possible, if a stream frame is packed
to the end of a datagram, that only part of its content is carried,
finished in a subsequent stream packet, which leads to a short read.

Augment the server to properly handle SSL_read transient failures so
that such an occurance is handled properly.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26198)
demos/guide/quic-hq-interop-server.c