Klaus Demo nginx / e297091
Upstream: removed surplus ngx_resolve_name_done() call. It will be called in ngx_http_upstream_finalize_request(). Valentin Bartenev 6 years ago
1 changed file(s) with 1 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
32753275 {
32763276 ngx_http_request_t *r = data;
32773277
3278 ngx_http_upstream_t *u;
3279
32803278 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
32813279 "cleanup http upstream request: \"%V\"", &r->uri);
32823280
3283 u = r->upstream;
3284
3285 if (u->resolved && u->resolved->ctx) {
3286 ngx_resolve_name_done(u->resolved->ctx);
3287 u->resolved->ctx = NULL;
3288 }
3289
3290 ngx_http_upstream_finalize_request(r, u, NGX_DONE);
3281 ngx_http_upstream_finalize_request(r, r->upstream, NGX_DONE);
32913282 }
32923283
32933284