Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_variables.c @ 246:b52bd034c577 NGINX_0_4_8
nginx 0.4.8
*) Bugfix: if an "include" SSI command were before another "include"
SSI command with an "wait" parameter, then the "wait" parameter
might not work.
*) Bugfix: the ngx_http_flv_module added the FLV header to the full
responses.
Thanks to Alexey Kovyrin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Oct 2006 00:00:00 +0400 |
parents | 500a3242dff6 |
children | acd2ec3541cb |
comparison
equal
deleted
inserted
replaced
245:d75dbd68f5b2 | 246:b52bd034c577 |
---|---|
1143 static ngx_int_t | 1143 static ngx_int_t |
1144 ngx_http_variable_request_body_file(ngx_http_request_t *r, | 1144 ngx_http_variable_request_body_file(ngx_http_request_t *r, |
1145 ngx_http_variable_value_t *v, uintptr_t data) | 1145 ngx_http_variable_value_t *v, uintptr_t data) |
1146 { | 1146 { |
1147 if (r->request_body == NULL || r->request_body->temp_file == NULL) { | 1147 if (r->request_body == NULL || r->request_body->temp_file == NULL) { |
1148 v->len = 0; | 1148 v->not_found = 1; |
1149 v->valid = 1; | |
1150 v->no_cachable = 0; | |
1151 v->not_found = 0; | |
1152 v->data = (u_char *) ""; | |
1153 | 1149 |
1154 return NGX_OK; | 1150 return NGX_OK; |
1155 } | 1151 } |
1156 | 1152 |
1157 v->len = r->request_body->temp_file->file.name.len; | 1153 v->len = r->request_body->temp_file->file.name.len; |