Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 6125:4dc8e7b62216
Removed the obsolete aio module.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 22 Apr 2015 18:57:32 +0300 |
parents | 643f2ce02f1c |
children | 59fc60585f1e |
comparison
equal
deleted
inserted
replaced
6124:f1f222db290b | 6125:4dc8e7b62216 |
---|---|
2909 p->buf_to_file->pos = u->buffer.start; | 2909 p->buf_to_file->pos = u->buffer.start; |
2910 p->buf_to_file->last = u->buffer.pos; | 2910 p->buf_to_file->last = u->buffer.pos; |
2911 p->buf_to_file->temporary = 1; | 2911 p->buf_to_file->temporary = 1; |
2912 } | 2912 } |
2913 | 2913 |
2914 if (ngx_event_flags & NGX_USE_AIO_EVENT) { | 2914 if (ngx_event_flags & NGX_USE_IOCP_EVENT) { |
2915 /* the posted aio operation may corrupt a shadow buffer */ | 2915 /* the posted aio operation may corrupt a shadow buffer */ |
2916 p->single_buf = 1; | 2916 p->single_buf = 1; |
2917 } | 2917 } |
2918 | 2918 |
2919 /* TODO: p->free_bufs = 0 if use ngx_create_chain_of_bufs() */ | 2919 /* TODO: p->free_bufs = 0 if use ngx_create_chain_of_bufs() */ |