From 897bb0e54a3675c694943f9e46f7b5f58f234bb8 Mon Sep 17 00:00:00 2001 From: Hakase Date: Tue, 11 Apr 2023 11:05:47 +0900 Subject: [PATCH] Latest update - 9069 --- src/http/v3/ngx_http_v3_uni.c | 2 +- src/stream/ngx_stream_write_filter_module.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/http/v3/ngx_http_v3_uni.c b/src/http/v3/ngx_http_v3_uni.c index f00caaa..22ddaf3 100644 --- a/src/http/v3/ngx_http_v3_uni.c +++ b/src/http/v3/ngx_http_v3_uni.c @@ -747,7 +747,7 @@ ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id) for (q = ngx_queue_head(&h3c->pushing); q != ngx_queue_sentinel(&h3c->pushing); - q = ngx_queue_next(&h3c->pushing)) + q = ngx_queue_next(q)) { push = (ngx_http_v3_push_t *) q; diff --git a/src/stream/ngx_stream_write_filter_module.c b/src/stream/ngx_stream_write_filter_module.c index 07dc7b5..d8a72f9 100644 --- a/src/stream/ngx_stream_write_filter_module.c +++ b/src/stream/ngx_stream_write_filter_module.c @@ -277,7 +277,12 @@ ngx_stream_write_filter(ngx_stream_session_t *s, ngx_chain_t *in, *out = chain; if (chain) { - if (c->shared) { + if (c->shared +#if (NGX_STREAM_QUIC) + && c->quic == NULL +#endif + ) + { ngx_log_error(NGX_LOG_ALERT, c->log, 0, "shared connection is busy"); return NGX_ERROR;