Mercurial > hg > nginx-ranges
comparison src/event/modules/ngx_aio_module.c @ 18:6f8b0dc0f8dd NGINX_0_1_9
nginx 0.1.9
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; bug appeared in 0.1.8.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 6cfc63e68377 |
comparison
equal
deleted
inserted
replaced
17:9acb68bb0698 | 18:6f8b0dc0f8dd |
---|---|
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 #include <ngx_event.h> | 9 #include <ngx_event.h> |
10 #include <ngx_aio.h> | 10 #include <ngx_aio.h> |
11 | 11 |
12 #if (HAVE_KQUEUE) | 12 #if (NGX_HAVE_KQUEUE) |
13 #include <ngx_kqueue_module.h> | 13 #include <ngx_kqueue_module.h> |
14 #endif | 14 #endif |
15 | 15 |
16 | 16 |
17 static int ngx_aio_init(ngx_cycle_t *cycle); | 17 static int ngx_aio_init(ngx_cycle_t *cycle); |
25 ngx_os_io_t ngx_os_aio = { | 25 ngx_os_io_t ngx_os_aio = { |
26 ngx_aio_read, | 26 ngx_aio_read, |
27 ngx_aio_read_chain, | 27 ngx_aio_read_chain, |
28 ngx_aio_write, | 28 ngx_aio_write, |
29 ngx_aio_write_chain, | 29 ngx_aio_write_chain, |
30 NGX_HAVE_ZEROCOPY | 30 0 |
31 }; | 31 }; |
32 | 32 |
33 | 33 |
34 static ngx_str_t aio_name = ngx_string("aio"); | 34 static ngx_str_t aio_name = ngx_string("aio"); |
35 | 35 |
62 NULL /* init process */ | 62 NULL /* init process */ |
63 }; | 63 }; |
64 | 64 |
65 | 65 |
66 | 66 |
67 #if (HAVE_KQUEUE) | 67 #if (NGX_HAVE_KQUEUE) |
68 | 68 |
69 static int ngx_aio_init(ngx_cycle_t *cycle) | 69 static int ngx_aio_init(ngx_cycle_t *cycle) |
70 { | 70 { |
71 if (ngx_kqueue_module_ctx.actions.init(cycle) == NGX_ERROR) { | 71 if (ngx_kqueue_module_ctx.actions.init(cycle) == NGX_ERROR) { |
72 return NGX_ERROR; | 72 return NGX_ERROR; |
150 static int ngx_aio_process_events(ngx_cycle_t *cycle) | 150 static int ngx_aio_process_events(ngx_cycle_t *cycle) |
151 { | 151 { |
152 return ngx_kqueue_module_ctx.actions.process_events(cycle); | 152 return ngx_kqueue_module_ctx.actions.process_events(cycle); |
153 } | 153 } |
154 | 154 |
155 #endif /* HAVE_KQUEUE */ | 155 #endif /* NGX_HAVE_KQUEUE */ |
156 | 156 |
157 | 157 |
158 #if 0 | 158 #if 0 |
159 | 159 |
160 /* 1 */ | 160 /* 1 */ |