Mercurial > hg > nginx
comparison src/http/ngx_http_header_filter_module.c @ 3324:616da2ea901f
remove subrequest test in range header, chunked, and header filters: they
are run after postpone filter which sends data only in main request context
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 12:13:17 +0000 |
parents | 118169a8ec92 |
children | e0bc43a52382 |
comparison
equal
deleted
inserted
replaced
3323:9421e997c2c4 | 3324:616da2ea901f |
---|---|
174 #endif | 174 #endif |
175 u_char addr[NGX_SOCKADDR_STRLEN]; | 175 u_char addr[NGX_SOCKADDR_STRLEN]; |
176 | 176 |
177 r->header_sent = 1; | 177 r->header_sent = 1; |
178 | 178 |
179 if (r != r->main) { | |
180 return NGX_OK; | |
181 } | |
182 | |
183 if (r->http_version < NGX_HTTP_VERSION_10) { | 179 if (r->http_version < NGX_HTTP_VERSION_10) { |
184 return NGX_OK; | 180 return NGX_OK; |
185 } | 181 } |
186 | 182 |
187 if (r->method == NGX_HTTP_HEAD) { | 183 if (r->method == NGX_HTTP_HEAD) { |