Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_aio_read.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 | f0b350454894 |
children | df17fbafec8f |
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 /* | 17 /* |
44 | 44 |
45 rev->aiocb.aio_fildes = c->fd; | 45 rev->aiocb.aio_fildes = c->fd; |
46 rev->aiocb.aio_buf = buf; | 46 rev->aiocb.aio_buf = buf; |
47 rev->aiocb.aio_nbytes = size; | 47 rev->aiocb.aio_nbytes = size; |
48 | 48 |
49 #if (HAVE_KQUEUE) | 49 #if (NGX_HAVE_KQUEUE) |
50 rev->aiocb.aio_sigevent.sigev_notify_kqueue = ngx_kqueue; | 50 rev->aiocb.aio_sigevent.sigev_notify_kqueue = ngx_kqueue; |
51 rev->aiocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; | 51 rev->aiocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; |
52 rev->aiocb.aio_sigevent.sigev_value.sigval_ptr = rev; | 52 rev->aiocb.aio_sigevent.sigev_value.sigval_ptr = rev; |
53 #endif | 53 #endif |
54 | 54 |