Skip to content

Commit 40cd174

Browse files
committed
fix
1 parent b4cf1ae commit 40cd174

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ngx_http_upstream_queue_module.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ static ngx_int_t ngx_http_upstream_queue_peer_init(ngx_http_request_t *r, ngx_ht
119119
queue_init(&d->queue);
120120
if (qscf->peer.init(r, uscf) != NGX_OK) return NGX_ERROR;
121121
ngx_http_upstream_t *u = r->upstream;
122+
u->conf->upstream = uscf;
122123
d->peer = u->peer;
123124
d->request = r;
124125
u->peer.data = d;

0 commit comments

Comments
 (0)