From 3afc42dacf68359ceb4f576c54ff31476d62a6da Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Fri, 10 Oct 2025 20:45:50 +0800 Subject: [PATCH] quic: pass is_write to quic_classify_stream in quic_get_stream_error_code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joshua Rogers Reviewed-by: Saša Nedvědický Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28820) (cherry picked from commit 2466b57b893503f602622ad4f7cba1f3a2585ec0) --- ssl/quic/quic_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index e5f5eea7b45..60814eebe5f 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -4151,7 +4151,7 @@ static int quic_get_stream_error_code(SSL *ssl, int is_write, if (!expect_quic_with_stream_lock(ssl, /*remote_init=*/-1, /*io=*/0, &ctx)) return -1; - quic_classify_stream(ctx.qc, ctx.xso->stream, /*is_write=*/0, + quic_classify_stream(ctx.qc, ctx.xso->stream, is_write, &state, app_error_code); qctx_unlock(&ctx); -- 2.47.3