summaryrefslogtreecommitdiff
path: root/ssl/quic/quic_channel.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commite8b9f63235e82403b7e144ff9a1a3985d44f1c4e (patch)
treef218c0f4dda80478456240ccedcdd48e10733aa6 /ssl/quic/quic_channel.c
parent723cbe8a73fe3644bb4d8f20d475e57f44955b54 (diff)
downloadopenssl-new-e8b9f63235e82403b7e144ff9a1a3985d44f1c4e.tar.gz
QUIC QSM: Clean up SEND_STREAM/RECV_STREAM handling
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'ssl/quic/quic_channel.c')
-rw-r--r--ssl/quic/quic_channel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c
index da2436b3c6..ec0364ee68 100644
--- a/ssl/quic/quic_channel.c
+++ b/ssl/quic/quic_channel.c
@@ -2380,9 +2380,11 @@ void ossl_quic_channel_set_incoming_stream_auto_reject(QUIC_CHANNEL *ch,
void ossl_quic_channel_reject_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs)
{
- ossl_quic_stream_stop_sending(qs, ch->incoming_stream_auto_reject_aec);
- ossl_quic_stream_reset(qs, ch->incoming_stream_auto_reject_aec);
+ ossl_quic_stream_map_stop_sending_recv_part(&ch->qsm, qs,
+ ch->incoming_stream_auto_reject_aec);
+ ossl_quic_stream_map_reset_stream_send_part(&ch->qsm, qs,
+ ch->incoming_stream_auto_reject_aec);
qs->deleted = 1;
ossl_quic_stream_map_update_state(&ch->qsm, qs);