Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Store state files in a directory specified by upload_state_st…

…ore, not upload_store"

This reverts commit 8cfa513.
  • Loading branch information...
commit 3ae6a38ecd060833036e4b80b3de1e61a6aaf9da 1 parent 8cfa513
Valery Kholodkov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ngx_http_upload_module.c
View
2  ngx_http_upload_module.c
@@ -1050,7 +1050,7 @@ static ngx_int_t ngx_http_upload_start_handler(ngx_http_upload_ctx_t *u) { /* {{
ngx_http_upload_loc_conf_t *ulcf = ngx_http_get_module_loc_conf(r, ngx_http_upload_module);
ngx_file_t *file = &u->output_file;
- ngx_path_t *path = (u->session_id.len == 0 ? ulcf->store_path : ulcf->state_store_path);
+ ngx_path_t *path = ulcf->store_path;
uint32_t n;
ngx_uint_t i;
ngx_int_t rc;
Please sign in to comment.
Something went wrong with that request. Please try again.