Mercurial > hg > nginx-vendor-1-0
comparison src/event/modules/ngx_aio_module.c @ 492:98143f74eb3d NGINX_0_7_58
nginx 0.7.58
*) Feature: a "listen" directive of the mail proxy module supports IPv6.
*) Feature: the "image_filter_jpeg_quality" directive.
*) Feature: the "client_body_in_single_buffer" directive.
*) Feature: the $request_body variable.
*) Bugfix: in ngx_http_autoindex_module in file name links having a ":"
symbol in the name.
*) Bugfix: "make upgrade" procedure did not work; the bug had appeared
in 0.7.53.
Thanks to Denis F. Latypoff.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 18 May 2009 00:00:00 +0400 |
parents | 583decdb82a4 |
children | 86dad910eeb6 |
comparison
equal
deleted
inserted
replaced
491:bb2281a3edb6 | 492:98143f74eb3d |
---|---|
132 rc = aio_cancel(c->fd, NULL); | 132 rc = aio_cancel(c->fd, NULL); |
133 | 133 |
134 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "aio_cancel: %d", rc); | 134 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "aio_cancel: %d", rc); |
135 | 135 |
136 if (rc == AIO_CANCELED) { | 136 if (rc == AIO_CANCELED) { |
137 c->read->active = c->write->active = 0; | 137 c->read->active = 0; |
138 c->write->active = 0; | |
138 return NGX_OK; | 139 return NGX_OK; |
139 } | 140 } |
140 | 141 |
141 if (rc == AIO_ALLDONE) { | 142 if (rc == AIO_ALLDONE) { |
142 c->read->active = c->write->active = 0; | 143 c->read->active = 0; |
144 c->write->active = 0; | |
143 ngx_log_error(NGX_LOG_ALERT, c->log, 0, | 145 ngx_log_error(NGX_LOG_ALERT, c->log, 0, |
144 "aio_cancel() returned AIO_ALLDONE"); | 146 "aio_cancel() returned AIO_ALLDONE"); |
145 return NGX_OK; | 147 return NGX_OK; |
146 } | 148 } |
147 | 149 |