Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_cycle.h @ 92:45945fa8b8ba NGINX_0_2_0
nginx 0.2.0
*) The pid-file names used during online upgrade was changed and now is
not required a manual rename operation. The old master process adds
the ".oldbin" suffix to its pid-file and executes a new binary file.
The new master process creates usual pid-file without the ".newbin"
suffix. If the master process exits, then old master process renames
back its pid-file with the ".oldbin" suffix to the pid-file without
suffix.
*) Change: the "worker_connections" directive, new name of the
"connections" directive; now the directive specifies maximum number
of connections, but not maximum socket descriptor number.
*) Feature: SSL supports the session cache inside one worker process.
*) Feature: the "satisfy_any" directive.
*) Change: the ngx_http_access_module and ngx_http_auth_basic_module do
not run for subrequests.
*) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending"
directives.
*) Bugfix: if all backend using in load-balancing failed after one
error, then nginx did not try do connect to them during 60 seconds.
*) Bugfix: in IMAP/POP3 command argument parsing.
Thanks to Rob Mueller.
*) Bugfix: errors while using SSL in IMAP/POP3 proxy.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the "Expires" and "Cache-Control" header lines were omitted
from the 304 responses.
Thanks to Alexandr Kukushkin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 23 Sep 2005 00:00:00 +0400 |
parents | 8ad297c88dcb |
children | dad2fe8ecf08 |
comparison
equal
deleted
inserted
replaced
91:c3eee83ea942 | 92:45945fa8b8ba |
---|---|
26 ngx_pool_t *pool; | 26 ngx_pool_t *pool; |
27 | 27 |
28 ngx_log_t *log; | 28 ngx_log_t *log; |
29 ngx_log_t *new_log; | 29 ngx_log_t *new_log; |
30 | 30 |
31 ngx_connection_t **files; | |
32 ngx_connection_t *free_connections; | |
33 ngx_uint_t free_connection_n; | |
34 | |
31 ngx_array_t listening; | 35 ngx_array_t listening; |
32 ngx_array_t pathes; | 36 ngx_array_t pathes; |
33 ngx_list_t open_files; | 37 ngx_list_t open_files; |
34 | 38 |
35 ngx_uint_t connection_n; | 39 ngx_uint_t connection_n; |
36 ngx_connection_t *connections; | 40 ngx_uint_t files_n; |
37 ngx_event_t *read_events; | 41 |
38 ngx_event_t *write_events; | 42 ngx_connection_t *connections0; |
43 ngx_event_t *read_events0; | |
44 ngx_event_t *write_events0; | |
39 | 45 |
40 ngx_cycle_t *old_cycle; | 46 ngx_cycle_t *old_cycle; |
41 | 47 |
42 ngx_str_t conf_file; | 48 ngx_str_t conf_file; |
43 ngx_str_t root; | 49 ngx_str_t root; |
49 ngx_flag_t master; | 55 ngx_flag_t master; |
50 | 56 |
51 ngx_int_t worker_processes; | 57 ngx_int_t worker_processes; |
52 ngx_int_t debug_points; | 58 ngx_int_t debug_points; |
53 | 59 |
60 ngx_int_t rlimit_nofile; | |
61 ngx_int_t rlimit_sigpending; | |
62 | |
54 int priority; | 63 int priority; |
55 | 64 |
56 char *username; | 65 char *username; |
57 ngx_uid_t user; | 66 ngx_uid_t user; |
58 ngx_gid_t group; | 67 ngx_gid_t group; |
59 | 68 |
60 ngx_str_t working_directory; | 69 ngx_str_t working_directory; |
61 | 70 |
62 ngx_str_t pid; | 71 ngx_str_t pid; |
63 ngx_str_t newpid; | 72 ngx_str_t oldpid; |
64 | 73 |
65 #if (NGX_THREADS) | 74 #if (NGX_THREADS) |
66 ngx_int_t worker_threads; | 75 ngx_int_t worker_threads; |
67 size_t thread_stack_size; | 76 size_t thread_stack_size; |
68 #endif | 77 #endif |