comparison src/os/unix/ngx_aio_write.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 42d11f017717
children 4d9ea73a627a
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 /* 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