Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 149:86404ba5c517
nginx-0.0.1-2003-10-17-20:53:26 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 17 Oct 2003 16:53:26 +0000 |
parents | 5afee0074707 |
children | 2d9e4a8b6d11 |
comparison
equal
deleted
inserted
replaced
148:5afee0074707 | 149:86404ba5c517 |
---|---|
719 rev = r->connection->read; | 719 rev = r->connection->read; |
720 | 720 |
721 n = r->header_in->last - r->header_in->pos; | 721 n = r->header_in->last - r->header_in->pos; |
722 | 722 |
723 if (n > 0) { | 723 if (n > 0) { |
724 #if 0 | |
725 /* TODO: THINK - AIO ??? */ | |
724 rev->ready = 0; | 726 rev->ready = 0; |
727 #endif | |
725 return n; | 728 return n; |
726 } | 729 } |
727 | 730 |
728 n = ngx_recv(r->connection, r->header_in->last, | 731 n = ngx_recv(r->connection, r->header_in->last, |
729 r->header_in->end - r->header_in->last); | 732 r->header_in->end - r->header_in->last); |