Mercurial > hg > nginx
comparison src/http/ngx_http_header_filter_module.c @ 3331:e0bc43a52382
backout r3325: postpone filter is a body only filter
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 13:22:10 +0000 |
parents | 616da2ea901f |
children | e51e8ec95b50 |
comparison
equal
deleted
inserted
replaced
3330:b3aaccf50be2 | 3331:e0bc43a52382 |
---|---|
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 | |
179 if (r->http_version < NGX_HTTP_VERSION_10) { | 183 if (r->http_version < NGX_HTTP_VERSION_10) { |
180 return NGX_OK; | 184 return NGX_OK; |
181 } | 185 } |
182 | 186 |
183 if (r->method == NGX_HTTP_HEAD) { | 187 if (r->method == NGX_HTTP_HEAD) { |