Mercurial > hg > nginx-ranges
comparison src/os/unix/ngx_aio_write.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 /* |
41 | 41 |
42 wev->aiocb.aio_fildes = c->fd; | 42 wev->aiocb.aio_fildes = c->fd; |
43 wev->aiocb.aio_buf = buf; | 43 wev->aiocb.aio_buf = buf; |
44 wev->aiocb.aio_nbytes = size; | 44 wev->aiocb.aio_nbytes = size; |
45 | 45 |
46 #if (HAVE_KQUEUE) | 46 #if (NGX_HAVE_KQUEUE) |
47 wev->aiocb.aio_sigevent.sigev_notify_kqueue = ngx_kqueue; | 47 wev->aiocb.aio_sigevent.sigev_notify_kqueue = ngx_kqueue; |
48 wev->aiocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; | 48 wev->aiocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; |
49 wev->aiocb.aio_sigevent.sigev_value.sigval_ptr = wev; | 49 wev->aiocb.aio_sigevent.sigev_value.sigval_ptr = wev; |
50 #endif | 50 #endif |
51 | 51 |