comparison src/http/ngx_http_write_filter.c @ 319:7a8ebba985a9

nginx-0.0.3-2004-04-16-19:27:31 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Apr 2004 15:27:31 +0000
parents 7a0dbd779c6d
children 159dd60d257a
comparison
equal deleted inserted replaced
318:56496082668b 319:7a8ebba985a9
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;