Mercurial > hg > nginx-vendor-0-6
comparison src/http/modules/ngx_http_proxy_module.c @ 138:8e6d4d96ec4c NGINX_0_3_16
nginx 0.3.16
*) Feature: the ngx_http_map_module.
*) Feature: the "types_hash_max_size" and "types_hash_bucket_size"
directives.
*) Feature: the "ssi_value_length" directive.
*) Feature: the "worker_rlimit_core" directive.
*) Workaround: the connection number in logs was always 1 if nginx was
built by the icc 8.1 or 9.0 compilers with optimization for
Pentium 4.
*) Bugfix: the "config timefmt" SSI command set incorrect time format.
*) Bugfix: nginx did not close connection to IMAP/POP3 backend for the
SSL connections; bug appeared in 0.3.13.
Thanks to Rob Mueller.
*) Bugfix: segmentation fault may occurred in at SSL shutdown; bug
appeared in 0.3.13.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 16 Dec 2005 00:00:00 +0300 |
parents | 91372f004adf |
children | 55a211e5eeb7 |
comparison
equal
deleted
inserted
replaced
137:768f51dd150b | 138:8e6d4d96ec4c |
---|---|
40 ngx_array_t *flushes; | 40 ngx_array_t *flushes; |
41 ngx_array_t *body_set_len; | 41 ngx_array_t *body_set_len; |
42 ngx_array_t *body_set; | 42 ngx_array_t *body_set; |
43 ngx_array_t *headers_set_len; | 43 ngx_array_t *headers_set_len; |
44 ngx_array_t *headers_set; | 44 ngx_array_t *headers_set; |
45 ngx_hash_t *headers_set_hash; | 45 ngx_hash0_t *headers_set_hash; |
46 | 46 |
47 ngx_array_t *headers_source; | 47 ngx_array_t *headers_source; |
48 ngx_array_t *headers_names; | 48 ngx_array_t *headers_names; |
49 | 49 |
50 ngx_array_t *redirects; | 50 ngx_array_t *redirects; |
1890 } | 1890 } |
1891 | 1891 |
1892 *code = (uintptr_t) NULL; | 1892 *code = (uintptr_t) NULL; |
1893 | 1893 |
1894 | 1894 |
1895 conf->headers_set_hash = ngx_pcalloc(cf->pool, sizeof(ngx_hash_t)); | 1895 conf->headers_set_hash = ngx_pcalloc(cf->pool, sizeof(ngx_hash0_t)); |
1896 if (conf->headers_set_hash == NULL) { | 1896 if (conf->headers_set_hash == NULL) { |
1897 return NGX_CONF_ERROR; | 1897 return NGX_CONF_ERROR; |
1898 } | 1898 } |
1899 | 1899 |
1900 conf->headers_set_hash->max_size = 100; | 1900 conf->headers_set_hash->max_size = 100; |
1901 conf->headers_set_hash->bucket_limit = 1; | 1901 conf->headers_set_hash->bucket_limit = 1; |
1902 conf->headers_set_hash->bucket_size = sizeof(ngx_str_t); | 1902 conf->headers_set_hash->bucket_size = sizeof(ngx_str_t); |
1903 conf->headers_set_hash->name = "proxy_headers"; | 1903 conf->headers_set_hash->name = "proxy_headers"; |
1904 | 1904 |
1905 if (ngx_hash_init(conf->headers_set_hash, cf->pool, | 1905 if (ngx_hash0_init(conf->headers_set_hash, cf->pool, |
1906 conf->headers_names->elts, conf->headers_names->nelts) != NGX_OK) | 1906 conf->headers_names->elts, conf->headers_names->nelts) |
1907 != NGX_OK) | |
1907 { | 1908 { |
1908 return NGX_CONF_ERROR; | 1909 return NGX_CONF_ERROR; |
1909 } | 1910 } |
1910 | 1911 |
1911 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0, | 1912 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, cf->log, 0, |