summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-23 08:39:38 +0100
committerHugo Landau <hlandau@openssl.org>2023-08-30 08:28:22 +0100
commit3bc38ba0712283bbbd57994af0259791dc42e704 (patch)
treed9fef0c70016a36e1c74ce1e8180ee5845589588 /ssl
parent25a0c4b907b0dbef4f0e70bf35cd84c85aaee3ad (diff)
QUIC MULTISTREAM TEST: Test WAIT_PEER
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21815)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_tserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_tserver.c b/ssl/quic/quic_tserver.c
index 366673f5cb..a3359c21c0 100644
--- a/ssl/quic/quic_tserver.c
+++ b/ssl/quic/quic_tserver.c
@@ -502,9 +502,9 @@ OSSL_TIME ossl_quic_tserver_get_deadline(QUIC_TSERVER *srv)
ossl_quic_channel_get_reactor(srv->ch));
}
-int ossl_quic_tserver_shutdown(QUIC_TSERVER *srv)
+int ossl_quic_tserver_shutdown(QUIC_TSERVER *srv, uint64_t app_error_code)
{
- ossl_quic_channel_local_close(srv->ch, 0, NULL);
+ ossl_quic_channel_local_close(srv->ch, app_error_code, NULL);
/* TODO(QUIC): !SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH */