comparison src/event/ngx_event.h @ 326:f70f2f565fe0 NGINX_0_5_33

nginx 0.5.33 *) Change: now by default the "echo" SSI command uses entity encoding. *) Feature: the "encoding" parameter in the "echo" SSI command. *) Change: mail proxy was split on three modules: pop3, imap and smtp. *) Feature: the --without-mail_pop3_module, --without-mail_imap_module, and --without-mail_smtp_module configuration parameters. *) Feature: the "smtp_greeting_delay" and "smtp_client_buffer" directives of the ngx_mail_smtp_module. *) Feature: the "server_name" and "valid_referers" directives support regular expressions. *) Feature: the "server_name", "map", and "valid_referers" directives support the "www.example.*" wildcards. *) Bugfix: sub_filter did not work with empty substitution. *) Bugfix: in sub_filter parsing. *) Bugfix: a worker process may got caught in an endless loop, if the memcached was used. *) Bugfix: nginx supported low case only "close" and "keep-alive" values in the "Connection" request header line; bug appeared in 0.5.32. *) Bugfix: nginx could not start on Solaris if the shared PCRE library located in non-standard place was used.
author Igor Sysoev <http://sysoev.ru>
date Wed, 07 Nov 2007 00:00:00 +0300
parents 7cf404023f50
children
comparison
equal deleted inserted replaced
325:5bb1b28ddeaa 326:f70f2f565fe0
124 struct aiocb aiocb; 124 struct aiocb aiocb;
125 #endif 125 #endif
126 126
127 #endif 127 #endif
128 128
129 u_int index; 129 ngx_uint_t index;
130 130
131 ngx_log_t *log; 131 ngx_log_t *log;
132 132
133 ngx_rbtree_node_t timer; 133 ngx_rbtree_node_t timer;
134 134
180 180
181 #if (NGX_EVENT_T_PADDING) 181 #if (NGX_EVENT_T_PADDING)
182 182
183 /* event should not cross cache line in SMP */ 183 /* event should not cross cache line in SMP */
184 184
185 int padding[NGX_EVENT_T_PADDING]; 185 uint32_t padding[NGX_EVENT_T_PADDING];
186 #endif 186 #endif
187 #endif 187 #endif
188 }; 188 };
189 189
190 190
193 in_addr_t addr; 193 in_addr_t addr;
194 } ngx_event_debug_t; 194 } ngx_event_debug_t;
195 195
196 196
197 typedef struct { 197 typedef struct {
198 ngx_int_t (*add)(ngx_event_t *ev, int event, u_int flags); 198 ngx_int_t (*add)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
199 ngx_int_t (*del)(ngx_event_t *ev, int event, u_int flags); 199 ngx_int_t (*del)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
200 200
201 ngx_int_t (*enable)(ngx_event_t *ev, int event, u_int flags); 201 ngx_int_t (*enable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
202 ngx_int_t (*disable)(ngx_event_t *ev, int event, u_int flags); 202 ngx_int_t (*disable)(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags);
203 203
204 ngx_int_t (*add_conn)(ngx_connection_t *c); 204 ngx_int_t (*add_conn)(ngx_connection_t *c);
205 ngx_int_t (*del_conn)(ngx_connection_t *c, u_int flags); 205 ngx_int_t (*del_conn)(ngx_connection_t *c, ngx_uint_t flags);
206 206
207 ngx_int_t (*process_changes)(ngx_cycle_t *cycle, ngx_uint_t nowait); 207 ngx_int_t (*process_changes)(ngx_cycle_t *cycle, ngx_uint_t nowait);
208 ngx_int_t (*process_events)(ngx_cycle_t *cycle, ngx_msec_t timer, 208 ngx_int_t (*process_events)(ngx_cycle_t *cycle, ngx_msec_t timer,
209 ngx_uint_t flags); 209 ngx_uint_t flags);
210 210
495 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle); 495 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle);
496 u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len); 496 u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len);
497 497
498 498
499 void ngx_process_events_and_timers(ngx_cycle_t *cycle); 499 void ngx_process_events_and_timers(ngx_cycle_t *cycle);
500 ngx_int_t ngx_handle_read_event(ngx_event_t *rev, u_int flags); 500 ngx_int_t ngx_handle_read_event(ngx_event_t *rev, ngx_uint_t flags);
501 ngx_int_t ngx_handle_write_event(ngx_event_t *wev, size_t lowat); 501 ngx_int_t ngx_handle_write_event(ngx_event_t *wev, size_t lowat);
502 502
503 503
504 #if (NGX_WIN32) 504 #if (NGX_WIN32)
505 void ngx_event_acceptex(ngx_event_t *ev); 505 void ngx_event_acceptex(ngx_event_t *ev);