mirror of
https://github.com/nginx/nginx.git
synced 2024-12-11 09:49:02 +08:00
Upstream: removed surplus ngx_resolve_name_done() call.
It will be called in ngx_http_upstream_finalize_request().
This commit is contained in:
parent
d88dffbf1a
commit
e297091c28
@ -3276,19 +3276,10 @@ ngx_http_upstream_cleanup(void *data)
|
||||
{
|
||||
ngx_http_request_t *r = data;
|
||||
|
||||
ngx_http_upstream_t *u;
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"cleanup http upstream request: \"%V\"", &r->uri);
|
||||
|
||||
u = r->upstream;
|
||||
|
||||
if (u->resolved && u->resolved->ctx) {
|
||||
ngx_resolve_name_done(u->resolved->ctx);
|
||||
u->resolved->ctx = NULL;
|
||||
}
|
||||
|
||||
ngx_http_upstream_finalize_request(r, u, NGX_DONE);
|
||||
ngx_http_upstream_finalize_request(r, r->upstream, NGX_DONE);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user