Mercurial > hg > nginx-vendor-0-8
comparison src/os/unix/ngx_linux_aio_read.c @ 602:c5122335e41d NGINX_0_8_53
nginx 0.8.53
*) Feature: now the "error_page" directive allows to change a status
code in a redirect.
*) Feature: the "gzip_disable" directive supports special "degradation"
mask.
*) Bugfix: a socket leak might occurred if file AIO was used.
Thanks to Maxim Dounin.
*) Bugfix: if the first server had no "listen" directive and there was
no explicit default server, then a next server with a "listen"
directive became the default server; the bug had appeared in 0.8.21.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 18 Oct 2010 00:00:00 +0400 |
parents | 2b9e388c61f1 |
children |
comparison
equal
deleted
inserted
replaced
601:b2afd36d87f4 | 602:c5122335e41d |
---|---|
93 piocb[0] = &aio->aiocb; | 93 piocb[0] = &aio->aiocb; |
94 | 94 |
95 n = io_submit(ngx_aio_ctx, 1, piocb); | 95 n = io_submit(ngx_aio_ctx, 1, piocb); |
96 | 96 |
97 if (n == 1) { | 97 if (n == 1) { |
98 ev->active = 1; | |
99 ev->ready = 0; | |
100 ev->complete = 0; | |
101 | |
98 return NGX_AGAIN; | 102 return NGX_AGAIN; |
99 } | 103 } |
100 | 104 |
101 n = -n; | 105 n = -n; |
102 | 106 |