comparison src/http/ngx_http_core_module.c @ 446:15a022ee809b NGINX_0_7_35

nginx 0.7.35 *) Bugfix: a "ssl_engine" directive did not use a SSL-accelerator for asymmetric ciphers. Thanks to Marcin Gozdalik. *) Bugfix: a "try_files" directive set MIME type depending on an original request extension. *) Bugfix: "*domain.tld" names were handled incorrectly in "server_name", "valid_referers", and "map" directives, if an ".domain.tld" and ".subdomain.domain.tld" wildcards were used; the bug had appeared in 0.7.9.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Feb 2009 00:00:00 +0300
parents 33394d1255b0
children 76a79816b771
comparison
equal deleted inserted replaced
445:e8605e87c1cb 446:15a022ee809b
1193 return NGX_OK; 1193 return NGX_OK;
1194 } 1194 }
1195 1195
1196 p = ngx_copy(r->uri.data, clcf->name.data, alias); 1196 p = ngx_copy(r->uri.data, clcf->name.data, alias);
1197 ngx_memcpy(p, name, path.len); 1197 ngx_memcpy(p, name, path.len);
1198 }
1199
1200 if (ngx_http_set_exten(r) != NGX_OK) {
1201 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
1202 return NGX_OK;
1198 } 1203 }
1199 1204
1200 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 1205 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
1201 "try file uri: \"%V\"", &r->uri); 1206 "try file uri: \"%V\"", &r->uri);
1202 1207