Mercurial > hg > nginx
comparison src/core/ngx_conf_file.h @ 545:0148586012ab release-0.2.1
nginx-0.2.1-RELEASE import
*) Bugfix: if all backend using in load-balancing failed after one
error, then nginx may got caught in an endless loop; the bug had
appeared in 0.2.0.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 23 Sep 2005 14:43:49 +0000 |
parents | b09ee85d0ac8 |
children | 458b6c3fea65 |
comparison
equal
deleted
inserted
replaced
544:a65976d924b7 | 545:0148586012ab |
---|---|
95 void *data; | 95 void *data; |
96 #endif | 96 #endif |
97 }; | 97 }; |
98 | 98 |
99 | 99 |
100 #define NGX_MODULE_V1 0, 0, 1, 0, 0, 0, 0 | 100 #define NGX_MODULE_V1 0, 0, 0, 0, 0, 0, 1 |
101 #define NGX_MODULE_V1_PADDING 0, 0, 0, 0, 0, 0, 0, 0 | 101 #define NGX_MODULE_V1_PADDING 0, 0, 0, 0, 0, 0, 0, 0 |
102 | 102 |
103 struct ngx_module_s { | 103 struct ngx_module_s { |
104 ngx_uint_t ctx_index; | 104 ngx_uint_t ctx_index; |
105 ngx_uint_t index; | 105 ngx_uint_t index; |
106 ngx_uint_t version; | |
107 | 106 |
108 ngx_uint_t spare0; | 107 ngx_uint_t spare0; |
109 ngx_uint_t spare1; | 108 ngx_uint_t spare1; |
110 ngx_uint_t spare2; | 109 ngx_uint_t spare2; |
111 ngx_uint_t spare3; | 110 ngx_uint_t spare3; |
111 | |
112 ngx_uint_t version; | |
112 | 113 |
113 void *ctx; | 114 void *ctx; |
114 ngx_command_t *commands; | 115 ngx_command_t *commands; |
115 ngx_uint_t type; | 116 ngx_uint_t type; |
116 | 117 |