mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
fix segfault
This commit is contained in:
parent
52b815e452
commit
cf6c582b9a
@ -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,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"finalize http upstream request: %i", rc);
|
"finalize http upstream request: %i", rc);
|
||||||
|
|
||||||
*u->cleanup = NULL;
|
if (u->cleanup) {
|
||||||
|
*u->cleanup = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (u->state && u->state->response_sec) {
|
if (u->state && u->state->response_sec) {
|
||||||
tp = ngx_timeofday();
|
tp = ngx_timeofday();
|
||||||
|
Loading…
Reference in New Issue
Block a user