mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
r2414 merge:
fix segfault
This commit is contained in:
parent
ccbe3f540e
commit
27947f38ef
1 changed files with 3 additions and 1 deletions
|
|
@ -2345,7 +2345,9 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r,
|
|||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"finalize http upstream request: %i", rc);
|
||||
|
||||
*u->cleanup = NULL;
|
||||
if (u->cleanup) {
|
||||
*u->cleanup = NULL;
|
||||
}
|
||||
|
||||
if (u->state && u->state->response_sec) {
|
||||
tp = ngx_timeofday();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue