Mercurial > hg > nginx
comparison src/event/modules/ngx_aio_module.c @ 257:70e1c7d2b83d
nginx-0.0.2-2004-02-11-20:08:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 11 Feb 2004 17:08:49 +0000 |
parents | 84036764e215 |
children | bdd631bf1a1c |
comparison
equal
deleted
inserted
replaced
256:8e39cab6abd5 | 257:70e1c7d2b83d |
---|---|
104 return NGX_OK; | 104 return NGX_OK; |
105 } | 105 } |
106 | 106 |
107 rc = aio_cancel(c->fd, NULL); | 107 rc = aio_cancel(c->fd, NULL); |
108 | 108 |
109 ngx_log_debug(c->log, "aio_cancel: %d" _ rc); | 109 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "aio_cancel: %d", rc); |
110 | 110 |
111 if (rc == AIO_CANCELED) { | 111 if (rc == AIO_CANCELED) { |
112 c->read->active = c->write->active = 0; | 112 c->read->active = c->write->active = 0; |
113 return NGX_OK; | 113 return NGX_OK; |
114 } | 114 } |