Ignore:
Timestamp:
02/03/09 19:45:01 (3 years ago)
Author:
George Potapov <nephrite@…>
Branches:
master-v0.7, nginx-v0.7, nginx-v0.8, upstream_count_limit
Children:
e86d7f, f54237
Parents:
2ac4f5
git-author:
George Potapov <nephrite@…> (02/03/09 19:45:01)
git-committer:
George Potapov <nephrite@…> (02/03/09 19:45:01)
Message:

vendor drop nginx v0.7.33

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/src/http/ngx_http_variables.c

    ra90ad7 r8310b2  
    6969    ngx_http_variable_value_t *v, uintptr_t data); 
    7070static ngx_int_t ngx_http_variable_sent_content_length(ngx_http_request_t *r, 
     71    ngx_http_variable_value_t *v, uintptr_t data); 
     72static ngx_int_t ngx_http_variable_sent_location(ngx_http_request_t *r, 
    7173    ngx_http_variable_value_t *v, uintptr_t data); 
    7274static ngx_int_t ngx_http_variable_sent_last_modified(ngx_http_request_t *r, 
     
    211213      ngx_http_variable_sent_content_length, 0, 0, 0 }, 
    212214 
     215    { ngx_string("sent_http_location"), NULL, 
     216      ngx_http_variable_sent_location, 0, 0, 0 }, 
     217 
    213218    { ngx_string("sent_http_last_modified"), NULL, 
    214219      ngx_http_variable_sent_last_modified, 0, 0, 0 }, 
     
    12431248 
    12441249static ngx_int_t 
     1250ngx_http_variable_sent_location(ngx_http_request_t *r, 
     1251    ngx_http_variable_value_t *v, uintptr_t data) 
     1252{ 
     1253    if (r->headers_out.location) { 
     1254        v->len = r->headers_out.location->value.len; 
     1255        v->valid = 1; 
     1256        v->no_cacheable = 0; 
     1257        v->not_found = 0; 
     1258        v->data = r->headers_out.location->value.data; 
     1259 
     1260        return NGX_OK; 
     1261    } 
     1262 
     1263    return ngx_http_variable_unknown_header(v, (ngx_str_t *) data, 
     1264                                            &r->headers_out.headers.part, 
     1265                                            sizeof("sent_http_") - 1); 
     1266} 
     1267 
     1268 
     1269static ngx_int_t 
    12451270ngx_http_variable_sent_last_modified(ngx_http_request_t *r, 
    12461271    ngx_http_variable_value_t *v, uintptr_t data) 
Note: See TracChangeset for help on using the changeset viewer.