comparison src/http/modules/ngx_http_ssi_filter_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
98 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params); 98 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
99 static ngx_int_t ngx_http_ssi_endblock(ngx_http_request_t *r, 99 static ngx_int_t ngx_http_ssi_endblock(ngx_http_request_t *r,
100 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params); 100 ngx_http_ssi_ctx_t *ctx, ngx_str_t **params);
101 101
102 static ngx_int_t ngx_http_ssi_date_gmt_local_variable(ngx_http_request_t *r, 102 static ngx_int_t ngx_http_ssi_date_gmt_local_variable(ngx_http_request_t *r,
103 ngx_http_variable_value_t *v, uintptr_t gmt); 103 ngx_http_variable_value_t *v, uintptr_t gmt);
104 104
105 static char *ngx_http_ssi_types(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 105 static char *ngx_http_ssi_types(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
106 106
107 static ngx_int_t ngx_http_ssi_preconfiguration(ngx_conf_t *cf); 107 static ngx_int_t ngx_http_ssi_preconfiguration(ngx_conf_t *cf);
108 static void *ngx_http_ssi_create_main_conf(ngx_conf_t *cf); 108 static void *ngx_http_ssi_create_main_conf(ngx_conf_t *cf);
2645 } 2645 }
2646 2646
2647 2647
2648 static ngx_int_t 2648 static ngx_int_t
2649 ngx_http_ssi_date_gmt_local_variable(ngx_http_request_t *r, 2649 ngx_http_ssi_date_gmt_local_variable(ngx_http_request_t *r,
2650 ngx_http_variable_value_t *v, uintptr_t gmt) 2650 ngx_http_variable_value_t *v, uintptr_t gmt)
2651 { 2651 {
2652 ngx_http_ssi_ctx_t *ctx; 2652 ngx_http_ssi_ctx_t *ctx;
2653 ngx_time_t *tp; 2653 ngx_time_t *tp;
2654 struct tm tm; 2654 struct tm tm;
2655 char buf[NGX_HTTP_SSI_DATE_LEN]; 2655 char buf[NGX_HTTP_SSI_DATE_LEN];