Mercurial > hg > nginx-vendor-1-0
comparison src/core/ngx_cycle.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 | 29a6403156b0 |
children | edf1cb6c328e |
comparison
equal
deleted
inserted
replaced
277:b3aec7787b8e | 278:704622b2528a |
---|---|
91 ngx_str_t lock_file; | 91 ngx_str_t lock_file; |
92 | 92 |
93 ngx_str_t pid; | 93 ngx_str_t pid; |
94 ngx_str_t oldpid; | 94 ngx_str_t oldpid; |
95 | 95 |
96 ngx_array_t env; | |
97 char **environment; | |
98 | |
96 #if (NGX_THREADS) | 99 #if (NGX_THREADS) |
97 ngx_int_t worker_threads; | 100 ngx_int_t worker_threads; |
98 size_t thread_stack_size; | 101 size_t thread_stack_size; |
99 #endif | 102 #endif |
100 | 103 |
111 | 114 |
112 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); | 115 ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle); |
113 ngx_int_t ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log); | 116 ngx_int_t ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log); |
114 void ngx_delete_pidfile(ngx_cycle_t *cycle); | 117 void ngx_delete_pidfile(ngx_cycle_t *cycle); |
115 void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user); | 118 void ngx_reopen_files(ngx_cycle_t *cycle, ngx_uid_t user); |
119 char **ngx_set_environment(ngx_cycle_t *cycle, ngx_uint_t *last); | |
116 ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv); | 120 ngx_pid_t ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv); |
117 u_long ngx_get_cpu_affinity(ngx_uint_t n); | 121 u_long ngx_get_cpu_affinity(ngx_uint_t n); |
118 ngx_shm_zone_t *ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, | 122 ngx_shm_zone_t *ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, |
119 size_t size, void *tag); | 123 size_t size, void *tag); |
120 | 124 |