Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_variables.c @ 270:6eb1e38f0f1f NGINX_0_5_5
nginx 0.5.5
*) Change: the -v switch does not show compiler information any more.
*) Feature: the -V switch.
*) Feature: the "worker_rlimit_core" directive supports size in K, M,
and G.
*) Bugfix: the nginx.pm module now could be installed by an
unprivileged user.
*) Bugfix: a segmentation fault might occur if the $r->request_body or
$r->request_body_file methods were used.
*) Bugfix: the ppc platform specific bugs.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sun, 24 Dec 2006 00:00:00 +0300 |
parents | 6ae1357b7b7c |
children | 29a6403156b0 |
comparison
equal
deleted
inserted
replaced
269:aa9c0062124d | 270:6eb1e38f0f1f |
---|---|
676 } else { | 676 } else { |
677 v->len = r->server_name.len; | 677 v->len = r->server_name.len; |
678 v->data = r->server_name.data; | 678 v->data = r->server_name.data; |
679 } | 679 } |
680 | 680 |
681 } else { | 681 } else if (r->host_end) { |
682 v->len = r->host_end - r->host_start; | 682 v->len = r->host_end - r->host_start; |
683 v->data = r->host_start; | 683 v->data = r->host_start; |
684 | |
685 } else { | |
686 v->not_found = 1; | |
687 return NGX_OK; | |
684 } | 688 } |
685 | 689 |
686 v->valid = 1; | 690 v->valid = 1; |
687 v->no_cachable = 0; | 691 v->no_cachable = 0; |
688 v->not_found = 0; | 692 v->not_found = 0; |