comparison src/event/ngx_event.h @ 518:86dad910eeb6 NGINX_0_8_11

nginx 0.8.11 *) Change: directive "gzip_disable msie6" enables gzipping for MSIE 6.0 SV1. *) Feature: file AIO support on FreeBSD and Linux. *) Feature: the "directio_alignment" directive.
author Igor Sysoev <http://sysoev.ru>
date Fri, 28 Aug 2009 00:00:00 +0400
parents babd3d9efb62
children d41628eb4d0a
comparison
equal deleted inserted replaced
517:15b5cddc5190 518:86dad910eeb6
187 #endif 187 #endif
188 #endif 188 #endif
189 }; 189 };
190 190
191 191
192 #if (NGX_HAVE_FILE_AIO)
193
194 struct ngx_event_aio_s {
195 void *data;
196 ngx_event_handler_pt handler;
197 ngx_file_t *file;
198
199 ngx_fd_t fd;
200
201 #if (NGX_HAVE_EVENTFD)
202 int64_t res;
203 #if (NGX_TEST_BUILD_EPOLL)
204 ngx_err_t err;
205 size_t nbytes;
206 #endif
207 #else
208 ngx_err_t err;
209 size_t nbytes;
210 #endif
211
212 ngx_aiocb_t aiocb;
213 ngx_event_t event;
214 };
215
216 #endif
217
218
192 typedef struct { 219 typedef struct {
193 in_addr_t mask; 220 in_addr_t mask;
194 in_addr_t addr; 221 in_addr_t addr;
195 } ngx_event_debug_t; 222 } ngx_event_debug_t;
196 223