Mercurial > hg > nginx-quic
comparison src/http/ngx_http_header_filter_module.c @ 5364:941c5e3561ed
Fixed incorrect response line on "return 203".
Reported by Weibin Yao,
http://mailman.nginx.org/pipermail/nginx-devel/2013-April/003607.html.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 04 Sep 2013 21:17:01 +0400 |
parents | 7fa7e60a7f66 |
children | 907f01a2a7c0 |
comparison
equal
deleted
inserted
replaced
5363:31af4ae8ad9c | 5364:941c5e3561ed |
---|---|
268 | 268 |
269 } else { | 269 } else { |
270 len += NGX_INT_T_LEN; | 270 len += NGX_INT_T_LEN; |
271 status_line = NULL; | 271 status_line = NULL; |
272 } | 272 } |
273 | |
274 if (status_line && status_line->len == 0) { | |
275 status = r->headers_out.status; | |
276 len += NGX_INT_T_LEN; | |
277 status_line = NULL; | |
278 } | |
273 } | 279 } |
274 | 280 |
275 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 281 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
276 | 282 |
277 if (r->headers_out.server == NULL) { | 283 if (r->headers_out.server == NULL) { |