diff options
author | Matt Caswell <matt@openssl.org> | 2023-08-31 16:18:28 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-09-02 15:23:55 +0100 |
commit | 48724e8a205c732705c3f54a3bd43d7049e77774 (patch) | |
tree | 5ce960d7d9b9868790deb46dc92c9738149cb5d0 /doc/designs | |
parent | 3a0012cb52bef4df54bd46946d7ff783c24b4305 (diff) |
Add a test for QUIC non IO retry errors
Test that errors such as SSL_ERROR_WANT_RETRY_VERIFY are properly
handled by QUIC connections.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21922)
Diffstat (limited to 'doc/designs')
-rw-r--r-- | doc/designs/quic-design/quic-fault-injector.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/designs/quic-design/quic-fault-injector.md b/doc/designs/quic-design/quic-fault-injector.md index a60763518f..30db905ee8 100644 --- a/doc/designs/quic-design/quic-fault-injector.md +++ b/doc/designs/quic-design/quic-fault-injector.md @@ -229,6 +229,13 @@ void ossl_quic_fault_free(OSSL_QUIC_FAULT *fault); int qtest_create_quic_connection(QUIC_TSERVER *qtserv, SSL *clientssl); /* + * Same as qtest_create_quic_connection but will stop (successfully) if the + * clientssl indicates SSL_ERROR_WANT_XXX as specified by |wanterr| + */ +int qtest_create_quic_connection_ex(QUIC_TSERVER *qtserv, SSL *clientssl, + int wanterr); + +/* * Confirm that the server has received the given transport error code. */ int qtest_check_server_transport_err(QUIC_TSERVER *qtserv, uint64_t code); |