diff options
Diffstat (limited to 'src/http/modules/proxy/ngx_http_event_proxy_handler.c')
-rw-r--r-- | src/http/modules/proxy/ngx_http_event_proxy_handler.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/http/modules/proxy/ngx_http_event_proxy_handler.c b/src/http/modules/proxy/ngx_http_event_proxy_handler.c index 26ccf4f61..9b1ddc4e3 100644 --- a/src/http/modules/proxy/ngx_http_event_proxy_handler.c +++ b/src/http/modules/proxy/ngx_http_event_proxy_handler.c @@ -902,9 +902,6 @@ static int ngx_http_proxy_read_upstream_header(ngx_http_proxy_ctx_t *p) ep->temp_file->fd = NGX_INVALID_FILE; ep->temp_file->log = p->log; - ep->number = 10; - ep->random = 5; - ep->max_temp_file_size = p->lcf->max_temp_file_size; ep->temp_file_write_size = p->lcf->temp_file_write_size; ep->temp_file_warn = "an upstream response is buffered " @@ -1396,7 +1393,7 @@ static int ngx_http_proxy_init(ngx_pool_t *pool) path.len += path.level[i] + 1; } - return ngx_create_temp_file(&file, &path, pool, 123456789, 2, 0); + return ngx_create_temp_file(&file, &path, pool, 0); } |