Mercurial > hg > nginx
comparison src/core/ngx_file.h @ 1075:4d203f76b757
undo "client_body_in_file_only any"
and introduce "client_body_in_file_only clean"
introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files
delete unnecessary ngx_http_finalize_request_body()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Jan 2007 08:45:04 +0000 |
parents | 01f818c6f7de |
children | 13a4ce6e7f1e |
comparison
equal
deleted
inserted
replaced
1074:8164f479b362 | 1075:4d203f76b757 |
---|---|
51 | 51 |
52 ngx_uint_t access; | 52 ngx_uint_t access; |
53 | 53 |
54 unsigned log_level:8; | 54 unsigned log_level:8; |
55 unsigned persistent:1; | 55 unsigned persistent:1; |
56 unsigned clean:1; | |
56 } ngx_temp_file_t; | 57 } ngx_temp_file_t; |
57 | 58 |
58 | 59 |
59 typedef struct ngx_tree_ctx_s ngx_tree_ctx_t; | 60 typedef struct ngx_tree_ctx_s ngx_tree_ctx_t; |
60 | 61 |
79 }; | 80 }; |
80 | 81 |
81 | 82 |
82 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); | 83 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); |
83 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, | 84 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, |
84 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t access); | 85 ngx_pool_t *pool, ngx_uint_t persistent, ngx_uint_t clean, |
86 ngx_uint_t access); | |
85 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); | 87 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); |
86 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); | 88 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); |
87 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access); | 89 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access); |
88 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); | 90 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); |
89 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); | 91 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); |