comparison src/http/modules/ngx_http_proxy_module.c @ 593:425af804d968 release-0.3.18

nginx-0.3.18-RELEASE import *) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Dec 2005 17:07:48 +0000
parents 8c0cdd81580e
children 5dac8c7fb71b
comparison
equal deleted inserted replaced
592:8b2e7f727cd0 593:425af804d968
1923 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) 1923 ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
1924 { 1924 {
1925 ngx_http_proxy_loc_conf_t *plcf = conf; 1925 ngx_http_proxy_loc_conf_t *plcf = conf;
1926 1926
1927 size_t add; 1927 size_t add;
1928 u_short port;
1928 ngx_str_t *value, *url; 1929 ngx_str_t *value, *url;
1929 ngx_uint_t port;
1930 ngx_inet_upstream_t inet_upstream; 1930 ngx_inet_upstream_t inet_upstream;
1931 ngx_http_core_loc_conf_t *clcf; 1931 ngx_http_core_loc_conf_t *clcf;
1932 #if (NGX_HTTP_SSL) 1932 #if (NGX_HTTP_SSL)
1933 ngx_pool_cleanup_t *cln; 1933 ngx_pool_cleanup_t *cln;
1934 #endif 1934 #endif