Klaus Demo nginx / 5739072
fix segfault: ngx_http_upstream_cleanup() cleans r->cleanup, the bug had been introduced in r3419 Igor Sysoev 12 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
364364 if (u && u->cleanup) {
365365 r->main->count++;
366366 ngx_http_upstream_cleanup(r);
367 *u->cleanup = NULL;
368 u->cleanup = NULL;
369367 }
370368
371369 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));