comparison src/http/modules/ngx_http_chunked_filter.c @ 153:c71aeb75c071

nginx-0.0.1-2003-10-21-20:49:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Oct 2003 16:49:56 +0000
parents e29909bd9b8a
children 46eb23d9471d
comparison
equal deleted inserted replaced
152:fb48bf4fea1c 153:c71aeb75c071
37 { 37 {
38 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED) { 38 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED) {
39 return next_header_filter(r); 39 return next_header_filter(r);
40 } 40 }
41 41
42 if (r->headers_out.content_length == -1) { 42 if (r->headers_out.content_length_n == -1) {
43 if (r->http_version < NGX_HTTP_VERSION_11) { 43 if (r->http_version < NGX_HTTP_VERSION_11) {
44 r->keepalive = 0; 44 r->keepalive = 0;
45 45
46 } else { 46 } else {
47 r->chunked = 1; 47 r->chunked = 1;