~ubuntu-branches/ubuntu/lucid/nginx/lucid-updates

« back to all changes in this revision

Viewing changes to src/http/ngx_http_upstream.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2008-12-01 20:11:53 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081201201153-q0ap33bcphfxriy3
Tags: 0.6.34-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #303916)
  + debian/control:
    - Add Depend on lsb >= 3.2-14, which has the status_of_proc() function.
  + debian/init.d:
    - Add sourcing to '. /lib/lsb/init-functions'
    - Add the 'status' action
  + Fixed FTBFS by properly defining IOV_MAX to its Linux equivelent.
  + Added dpatch based patch system

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
                 ngx_http_upstream_copy_header_line, 0, 0 },
138
138
 
139
139
    { ngx_string("Location"),
140
 
                 ngx_http_upstream_ignore_header_line, 0,
 
140
                 ngx_http_upstream_process_header_line,
 
141
                 offsetof(ngx_http_upstream_headers_in_t, location),
141
142
                 ngx_http_upstream_rewrite_location, 0, 0 },
142
143
 
143
144
    { ngx_string("Refresh"),
2625
2626
 
2626
2627
        r->headers_out.content_type_len = last - h->value.data;
2627
2628
 
2628
 
        r->headers_out.charset.len = h->value.data + h->value.len - p;
 
2629
        if (*p == '"') {
 
2630
            p++;
 
2631
        }
 
2632
 
 
2633
        last = h->value.data + h->value.len;
 
2634
 
 
2635
        if (*(last - 1) == '"') {
 
2636
            last--;
 
2637
        }
 
2638
 
 
2639
        r->headers_out.charset.len = last - p;
2629
2640
        r->headers_out.charset.data = p;
2630
2641
 
2631
2642
        return NGX_OK;