Mercurial > hg > nginx
comparison src/event/modules/ngx_aio_module.c @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) 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; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | a88a3e4e158f |
children | 64d9afb209da |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
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 */ |