From 40cd174ff8914077064b21aa61fefe82d72a5eaa Mon Sep 17 00:00:00 2001 From: RekGRpth Date: Sat, 21 Sep 2024 20:28:11 +0500 Subject: [PATCH] fix --- ngx_http_upstream_queue_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ngx_http_upstream_queue_module.c b/ngx_http_upstream_queue_module.c index 3ccd197..bc398ad 100644 --- a/ngx_http_upstream_queue_module.c +++ b/ngx_http_upstream_queue_module.c @@ -119,6 +119,7 @@ static ngx_int_t ngx_http_upstream_queue_peer_init(ngx_http_request_t *r, ngx_ht queue_init(&d->queue); if (qscf->peer.init(r, uscf) != NGX_OK) return NGX_ERROR; ngx_http_upstream_t *u = r->upstream; + u->conf->upstream = uscf; d->peer = u->peer; d->request = r; u->peer.data = d;