comparison src/core/ngx_cycle.h @ 258:6ae1357b7b7c NGINX_0_4_14

nginx 0.4.14 *) Feature: the "proxy_pass_error_message" directive in IMAP/POP3 proxy. *) Feature: now configure detects system PCRE library on FreeBSD, Linux, and NetBSD. *) Bugfix: ngx_http_perl_module did not work with perl built with the threads support; bug appeared in 0.3.38. *) Bugfix: ngx_http_perl_module did not work if perl was called recursively. *) Bugfix: nginx ignored a host name in an request line. *) Bugfix: a worker process may got caught in an endless loop, if a FastCGI server sent too many data to the stderr. *) Bugfix: the $upstream_response_time variable may be negative if the system time was changed backward. *) Bugfix: the "Auth-Login-Attempt" parameter was not sent to IMAP/POP3 proxy authentication server when POP3 was used. *) Bugfix: a segmentation fault might occur if connect to IMAP/POP3 proxy authentication server failed.
author Igor Sysoev <http://sysoev.ru>
date Mon, 27 Nov 2006 00:00:00 +0300
parents 73e8476f9142
children 6eb1e38f0f1f
comparison
equal deleted inserted replaced
257:0e566ee1bcd5 258:6ae1357b7b7c
19 19
20 #define NGX_DEBUG_POINTS_STOP 1 20 #define NGX_DEBUG_POINTS_STOP 1
21 #define NGX_DEBUG_POINTS_ABORT 2 21 #define NGX_DEBUG_POINTS_ABORT 2
22 22
23 23
24 typedef struct {
25 ngx_shm_t shm;
26 ngx_str_t name;
27 } ngx_shm_zone_t;
28
29
24 struct ngx_cycle_s { 30 struct ngx_cycle_s {
25 void ****conf_ctx; 31 void ****conf_ctx;
26 ngx_pool_t *pool; 32 ngx_pool_t *pool;
27 33
28 ngx_log_t *log; 34 ngx_log_t *log;
30 36
31 ngx_connection_t **files; 37 ngx_connection_t **files;
32 ngx_connection_t *free_connections; 38 ngx_connection_t *free_connections;
33 ngx_uint_t free_connection_n; 39 ngx_uint_t free_connection_n;
34 40
35 ngx_shm_t shm;
36 u_char *shm_last;
37 u_char *shm_end;
38
39 ngx_array_t listening; 41 ngx_array_t listening;
40 ngx_array_t pathes; 42 ngx_array_t pathes;
41 ngx_list_t open_files; 43 ngx_list_t open_files;
44 ngx_list_t shared_memory;
42 45
43 ngx_uint_t connection_n; 46 ngx_uint_t connection_n;
44 ngx_uint_t files_n; 47 ngx_uint_t files_n;
45 48
46 ngx_connection_t *connections; 49 ngx_connection_t *connections;
49 52
50 ngx_cycle_t *old_cycle; 53 ngx_cycle_t *old_cycle;
51 54
52 ngx_str_t conf_file; 55 ngx_str_t conf_file;
53 ngx_str_t root; 56 ngx_str_t root;
57 ngx_str_t lock_file;
54 }; 58 };
55 59
56 60
57 typedef struct { 61 typedef struct {
58 ngx_flag_t daemon; 62 ngx_flag_t daemon;