Mercurial > hg > nginx
comparison src/http/ngx_http_write_filter.c @ 307:ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 Apr 2004 15:58:25 +0000 |
parents | 00c5660d2707 |
children | 7a0dbd779c6d |
comparison
equal
deleted
inserted
replaced
306:6b91bfbc4123 | 307:ce375c313e96 |
---|---|
131 /* | 131 /* |
132 * avoid the output if there is no last hunk, no flush point and | 132 * avoid the output if there is no last hunk, no flush point and |
133 * the size of the hunks is smaller than "postpone_output" directive | 133 * the size of the hunks is smaller than "postpone_output" directive |
134 */ | 134 */ |
135 | 135 |
136 if (!last && flush == 0 && size < conf->postpone_output) { | 136 if (!last && flush == 0 && size < (off_t) conf->postpone_output) { |
137 return NGX_OK; | 137 return NGX_OK; |
138 } | 138 } |
139 | 139 |
140 if (r->connection->write->delayed) { | 140 if (r->connection->write->delayed) { |
141 return NGX_AGAIN; | 141 return NGX_AGAIN; |