comparison src/http/ngx_http_core_module.c @ 380:bc21d9cd9c54 NGINX_0_7_2

nginx 0.7.2 *) Feature: now nginx supports EDH key exchange ciphers. *) Feature: the "ssl_dhparam" directive. *) Feature: the $ssl_client_cert variable. Thanks to Manlio Perillo. *) Bugfix: after changing URI via a "rewrite" directive nginx did not search a new location; bug appeared in 0.7.1. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built without PCRE library; bug appeared in 0.7.1. *) Bugfix: when a request to a directory was redirected with the slash added, nginx dropped a query string from the original request.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Jun 2008 00:00:00 +0400
parents 820f6378fc00
children 984bb0b1399b
comparison
equal deleted inserted replaced
379:9d9dad60269f 380:bc21d9cd9c54
858 858
859 ngx_int_t 859 ngx_int_t
860 ngx_http_core_post_rewrite_phase(ngx_http_request_t *r, 860 ngx_http_core_post_rewrite_phase(ngx_http_request_t *r,
861 ngx_http_phase_handler_t *ph) 861 ngx_http_phase_handler_t *ph)
862 { 862 {
863 ngx_http_core_srv_conf_t *cscf;
864
863 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 865 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
864 "post rewrite phase: %ui", r->phase_handler); 866 "post rewrite phase: %ui", r->phase_handler);
865 867
866 if (!r->uri_changed) { 868 if (!r->uri_changed) {
867 r->phase_handler++; 869 r->phase_handler++;
888 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); 890 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
889 return NGX_OK; 891 return NGX_OK;
890 } 892 }
891 893
892 r->phase_handler = ph->next; 894 r->phase_handler = ph->next;
895
896 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
897 r->loc_conf = cscf->ctx->loc_conf;
893 898
894 return NGX_AGAIN; 899 return NGX_AGAIN;
895 } 900 }
896 901
897 902