Mercurial > hg > nginx-vendor-0-8
comparison src/core/ngx_file.h @ 278:704622b2528a NGINX_0_5_9
nginx 0.5.9
*) Change: now the ngx_http_memcached_module uses the $memcached_key
variable value as a key.
*) Feature: the $memcached_key variable.
*) Feature: the "clean" parameter in the "client_body_in_file_only"
directive.
*) Feature: the "env" directive.
*) Feature: the "sendfile" directive is available inside the "if" block.
*) Feature: now on failure of the writing to access nginx logs a
message to error_log, but not more often than once a minute.
*) Bugfix: the "access_log off" directive did not always turn off the
logging.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 25 Jan 2007 00:00:00 +0300 |
parents | c5c2b2883984 |
children | fc223117327f |
comparison
equal
deleted
inserted
replaced
277:b3aec7787b8e | 278:704622b2528a |
---|---|
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); |