Mercurial > hg > nginx-mail
comparison src/http/ngx_http_core_module.c @ 478:670af56a1158 NGINX_0_7_33
nginx 0.7.33
*) Bugfix: a double response might be returned if the epoll or rtsig
methods are used and a redirect was returned to a request with
body.
Thanks to Eden Li.
*) Bugfix: the $sent_http_location variable was empty for some
redirects types.
*) Bugfix: a segmentation fault might occur in worker process if
"resolver" directive was used in SMTP proxy.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 02 Feb 2009 00:00:00 +0300 |
parents | 6281966854a5 |
children | 33394d1255b0 |
comparison
equal
deleted
inserted
replaced
477:52bbf0e6dfad | 478:670af56a1158 |
---|---|
1032 | 1032 |
1033 ngx_int_t | 1033 ngx_int_t |
1034 ngx_http_core_try_files_phase(ngx_http_request_t *r, | 1034 ngx_http_core_try_files_phase(ngx_http_request_t *r, |
1035 ngx_http_phase_handler_t *ph) | 1035 ngx_http_phase_handler_t *ph) |
1036 { | 1036 { |
1037 size_t len, root, alias; | 1037 size_t len, root, alias, reserve, allocated; |
1038 ssize_t reserve, allocated; | |
1039 u_char *p, *name; | 1038 u_char *p, *name; |
1040 ngx_str_t path; | 1039 ngx_str_t path; |
1041 ngx_uint_t test_dir; | 1040 ngx_uint_t test_dir; |
1042 ngx_http_try_file_t *tf; | 1041 ngx_http_try_file_t *tf; |
1043 ngx_open_file_info_t of; | 1042 ngx_open_file_info_t of; |
1057 } | 1056 } |
1058 | 1057 |
1059 allocated = 0; | 1058 allocated = 0; |
1060 root = 0; | 1059 root = 0; |
1061 name = NULL; | 1060 name = NULL; |
1062 path.len = 0; | 1061 /* suppress MSVC warning */ |
1063 path.data = NULL; | 1062 path.data = NULL; |
1064 | 1063 |
1065 tf = clcf->try_files; | 1064 tf = clcf->try_files; |
1066 | 1065 |
1067 alias = clcf->alias ? clcf->name.len : 0; | 1066 alias = clcf->alias ? clcf->name.len : 0; |