fix segfault
This commit is contained in:
parent
c4d029f7d6
commit
5be2e142f5
1 changed files with 3 additions and 1 deletions
|
@ -2488,7 +2488,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…
Reference in a new issue